aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-01-11 21:59:05 +0000
committerYang Tse <yangsita@gmail.com>2008-01-11 21:59:05 +0000
commitf09fe4b49f7cce830a47c67f65895e567ffa7a6c (patch)
treeba47fa8b6e30f72e4b5de04d98f4e90e1e6fd468 /tests/runtests.pl
parent22c76df44d661fdb3150258926725416d6db81be (diff)
Ooops
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl4
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);