checkserver() bugged, Kevin Roth detected and fixed

This commit is contained in:
Daniel Stenberg 2001-10-10 22:04:42 +00:00
parent 59a76e4010
commit 71bf8a6985
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}