mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04: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…
x
Reference in New Issue
Block a user