From 0d3c9d2722c37336886e4b24ab1429c279d88b08 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Dec 2023 11:00:36 -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 4184d1bd..55286645 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_time=$(expr $(date +%Y-%m-%d-%H-%M-%S) - ${oldstatus_check//-/}) + osc_time=$(expr $(date +%Y%m%d%H%M%S) - ${oldstatus_check//-/}) echo "${oldstatus_check} = ${osc_time}" fi done