2011-12-19 Ramon Novoa <rnovoa@artica.es>

* pandora_agent: Ignore SIGCHLD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2011-12-19 11:26:05 +00:00
parent 984487233e
commit a7e635d83a
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-12-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Ignore SIGCHLD.
2011-12-16 Ramon Novoa <rnovoa@artica.es> 2011-12-16 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Empty modules, plugins and collections before * pandora_agent: Empty modules, plugins and collections before

View File

@ -1589,6 +1589,9 @@ sub kill_signal_handler (){
#Handler TERM signal. #Handler TERM signal.
$SIG{'TERM'} = \&kill_signal_handler; $SIG{'TERM'} = \&kill_signal_handler;
# Ignore SIGCHLD
$SIG{'CHLD'} = 'IGNORE';
# Check command line arguments # Check command line arguments
print_usage unless ($#ARGV == 0); print_usage unless ($#ARGV == 0);
$ConfDir = fix_directory ($ARGV[0]); $ConfDir = fix_directory ($ARGV[0]);
@ -1852,12 +1855,10 @@ while (1) {
} }
# Finish if broker agent # Finish if broker agent
else { else {
last; exit (0);
} }
} }
__END__ __END__
=head1 EXIT STATUS =head1 EXIT STATUS