From db6d0c81cc19364df6b57d1072c08cf76f6d8657 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 22:12:10 -0600 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 0123062..cc8eb85 100755 --- a/test.sh +++ b/test.sh @@ -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