]> granicus.if.org Git - curl/commitdiff
checkserver() bugged, Kevin Roth detected and fixed
authorDaniel Stenberg <daniel@haxx.se>
Wed, 10 Oct 2001 22:04:42 +0000 (22:04 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 10 Oct 2001 22:04:42 +0000 (22:04 +0000)
tests/runtests.pl

index cc10dd6702b97a262e7b33bd9226ecd99bbce6ca..555930adf742a25d00f9cbce2b99e2aaba7d8d86 100755 (executable)
@@ -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;
         }