Update test.sh

This commit is contained in:
2019-02-07 22:12:10 -06:00
parent 1de86839a1
commit db6d0c81cc

View File

@@ -24,7 +24,7 @@ declare -i timediff
errtime=$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down)
ctime=`date +%s`
timediff=`date +%s`-$errtime
timediff=`date +%s`-$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down)
echo $errtime
echo `date +%s`
echo $timediff