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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71bf8a6985a6d421bb4b1a0f4048e25634995876;p=curl checkserver() bugged, Kevin Roth detected and fixed --- diff --git a/tests/runtests.pl b/tests/runtests.pl index cc10dd670..555930adf 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; }