This commit is contained in:
2023-12-05 18:05:08 -06:00
parent ab18badf2e
commit 673b83edf5
3 changed files with 6 additions and 6 deletions

View File

@@ -527,7 +527,7 @@ CHECK_DOCKER_SERVICES(){
touch ${NM_TMPFOLDER}/${nip}.errtime
fi
else
errtime=`date +%s`-$(stat -c %Y ${NM_TMPFOLDER}/${nip}.down)
errtime=`expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}.down)`
fi
if [ "${ST_ACTION}" != "check" ]; then
toterrtime=`expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/${nip}.errtime)`