Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-06 17:42:11 -06:00
parent 7108719674
commit f4d7a3b1ba

View File

@@ -879,7 +879,7 @@ GUI(){
if [ "${2}" == "freespace" ]; then
STATUS freespace ${3}
else
STATUSRUNS=($(find ${NM_TMPFOLDER}/* -maxdepth 1 -type d -iname "status-*" 2>/dev/null))
STATUSRUNS=($(find "${NM_TMPFOLDER}/"* -maxdepth 1 -type d -iname "status-*" 2>/dev/null))
echo "HERE: ${STATUSRUNS}"
if [ ${STATUSRUNS} -le 3 ]; then
STATUS_START=$(date +%Y-%m-%d-%H-%M-%S)