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


Reply via email to