diff options
-rwxr-xr-x | tests/runtests.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index f3e1905e5..c9b7dc22a 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -669,7 +669,7 @@ sub verifyssh { if($pid > 0) { # if we have a pid it is actually our ssh server, # since runsshserver() unlinks previous pidfile - if(!kill(0, $pid) { + if(!kill(0, $pid)) { logmsg "RUN: SSH server has died after starting up\n"; checkdied($pid) unlink($SSHPIDFILE); @@ -692,7 +692,7 @@ sub verifysocks { if($pid > 0) { # if we have a pid it is actually our socks server, # since runsocksserver() unlinks previous pidfile - if(!kill(0, $pid) { + if(!kill(0, $pid)) { logmsg "RUN: SOCKS server has died after starting up\n"; checkdied($pid) unlink($SOCKSPIDFILE); |