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:
parent
984487233e
commit
a7e635d83a
|
@ -1,3 +1,7 @@
|
|||
2011-12-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_agent: Ignore SIGCHLD.
|
||||
|
||||
2011-12-16 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_agent: Empty modules, plugins and collections before
|
||||
|
|
|
@ -1589,6 +1589,9 @@ sub kill_signal_handler (){
|
|||
#Handler TERM signal.
|
||||
$SIG{'TERM'} = \&kill_signal_handler;
|
||||
|
||||
# Ignore SIGCHLD
|
||||
$SIG{'CHLD'} = 'IGNORE';
|
||||
|
||||
# Check command line arguments
|
||||
print_usage unless ($#ARGV == 0);
|
||||
$ConfDir = fix_directory ($ARGV[0]);
|
||||
|
@ -1852,12 +1855,10 @@ while (1) {
|
|||
}
|
||||
# Finish if broker agent
|
||||
else {
|
||||
last;
|
||||
exit (0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
__END__
|
||||
|
||||
=head1 EXIT STATUS
|
||||
|
|
Loading…
Reference in New Issue