From: Daniel Stenberg Date: Wed, 10 Oct 2001 22:04:42 +0000 (+0000) Subject: checkserver() bugged, Kevin Roth detected and fixed X-Git-Tag: curl-7_9_1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71bf8a6985a6d421bb4b1a0f4048e25634995876;p=thirdparty%2Fcurl.git checkserver() bugged, Kevin Roth detected and fixed --- diff --git a/tests/runtests.pl b/tests/runtests.pl index cc10dd6702..555930adf7 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -114,7 +114,7 @@ sub checkserver { # check for pidfile if ( -f $pidfile ) { - my $PID=serverpid($pidfile); + $PID=serverpid($pidfile); if ($PID ne "" && kill(0, $PID)) { $RUNNING=1; }