From 65bc1b1893edfc9f7d0a6ffb74758ef6fb6a0586 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 22:12:43 -0600 Subject: [PATCH] Update test.sh --- test.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test.sh b/test.sh index cc8eb85..2bb3eed 100755 --- a/test.sh +++ b/test.sh @@ -21,13 +21,9 @@ fi declare -i timediff - -errtime=$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) -ctime=`date +%s` -timediff=`date +%s`-$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) +errtime=`date +%s`-$(stat -c %Y /opt/idssys/nodemgmt/10.5.10.53-haproxy.down) echo $errtime -echo `date +%s` -echo $timediff + # if [ "" -gt "$timeout" ]; then # echo 'yes' # else