From 4cdec3806b0d3cb61a3da23986ad3476f5588b34 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Dec 2023 11:12:46 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ff9e01d6..e73338d4 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -946,7 +946,7 @@ GUI(){ if [ ! -f ${NM_TMPFOLDER}/.statusclean ] || [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/.statusclean)) -ge 3600 ]; then for oldstatus_check in ${NM_TMPFOLDER}/*; do if [ -d "${oldstatus_check}" ]; then - osc=$(date -d "${oldstatus_check##*/}" +"%s") + osc=$(date -d ${oldstatus_check##*/} +%s) osc_time=$(expr $(date +%s) - ${osc}) echo "(${oldstatus_check}) $(date +%s) - ${osc} = ${osc_time}" fi