You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2009/01/30 23:53:36 UTC
svn commit: r739443 - /incubator/vcl/trunk/managementnode/bin/vcld
Author: arkurth
Date: Fri Jan 30 22:53:36 2009
New Revision: 739443
URL: http://svn.apache.org/viewvc?rev=739443&view=rev
Log:
VCL-71
The call to reinstall the signal handler was in the wrong place in REAPER.
Modified:
incubator/vcl/trunk/managementnode/bin/vcld
Modified: incubator/vcl/trunk/managementnode/bin/vcld
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/bin/vcld?rev=739443&r1=739442&r2=739443&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/bin/vcld (original)
+++ incubator/vcl/trunk/managementnode/bin/vcld Fri Jan 30 22:53:36 2009
@@ -759,11 +759,11 @@
$child_count--;
delete $child_pids{$dead_pid};
}
-
- # Reinstall the signal handler in case of unreliable signals
- $SIG{CHLD} = \&REAPER;
}
+ # Reinstall the signal handler in case of unreliable signals
+ $SIG{CHLD} = \&REAPER;
+
# Set the special $? variable back to the exit status of the child which died
# This is useful when utilities such as SSH are run in other places in the code
# The code which called the utility can check the exit status to see if it was successful