From ed059786078ec9a1953125275151dfe57a8ea903 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 5 Aug 2011 20:03:58 +0000 Subject: Adding SIGKILL if ssh does not terminate --- loadbars.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'loadbars.pl') diff --git a/loadbars.pl b/loadbars.pl index 3df9fcf..78c8827 100755 --- a/loadbars.pl +++ b/loadbars.pl @@ -160,6 +160,7 @@ BASH if ($killcounter >= 3) { print " forcing using SIGKILL"; kill 0, $pid; + last; } } -- cgit v1.2.3