Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-06 11:00:36 -06:00
parent b18111363d
commit 0d3c9d2722

View File

@@ -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