projects
/
catagits/FCGI-ProcManager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix pm_wait
[catagits/FCGI-ProcManager.git]
/
lib
/
FCGI
/
ProcManager.pm
diff --git
a/lib/FCGI/ProcManager.pm
b/lib/FCGI/ProcManager.pm
index
bd4dab8
..
e1cc8be
100644
(file)
--- a/
lib/FCGI/ProcManager.pm
+++ b/
lib/FCGI/ProcManager.pm
@@
-332,7
+332,7
@@
sub pm_wait {
my ($this) = self_or_default(@_);
# wait for the next server to die.
- next if (my $pid = wait()) < 0;
+ return if (my $pid = wait() < 0);
# notify when one of our servers have died.
delete $this->{PIDS}->{$pid} and