]> xenbits.xensource.com Git - libvirt.git/commitdiff
Don't catch SIGCHLD in libvirtd
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Nov 2010 10:59:51 +0000 (10:59 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Nov 2010 14:10:14 +0000 (14:10 +0000)
libvirtd no longer deals with SIGCHLD in its signal handler
since the QEMU driver switched to always daemonize processes.
Thus remove the sigaction for it, to avoid warning log
messages

* daemon/libvirtd.c: Don't catch SIGCHLD

daemon/libvirtd.c

index e544c482d146500c0a4ef2d57b2e1c0bca29a90e..2eb2374134811b30774f4c4a09c1b4be640f8e5b 100644 (file)
@@ -2973,7 +2973,6 @@ daemonSetupSignals(struct qemud_server *server)
     sigaction(SIGINT, &sig_action, NULL);
     sigaction(SIGQUIT, &sig_action, NULL);
     sigaction(SIGTERM, &sig_action, NULL);
-    sigaction(SIGCHLD, &sig_action, NULL);
 
     sig_action.sa_handler = SIG_IGN;
     sigaction(SIGPIPE, &sig_action, NULL);