mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
checkserver() bugged, Kevin Roth detected and fixed
This commit is contained in:
parent
59a76e4010
commit
71bf8a6985
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user