mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Fri Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/qemud.c: handle SIGQUIT.
This commit is contained in:
parent
10041b979d
commit
272639aaac
@ -1,3 +1,7 @@
|
|||||||
|
Fri Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
|
||||||
|
|
||||||
|
* qemud/qemud.c: handle SIGQUIT.
|
||||||
|
|
||||||
Mon Feb 19 09:38:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
Mon Feb 19 09:38:24 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* qemud/bridge.c, qemud/conf.c: Fixed int -> char casts to deal
|
* qemud/bridge.c, qemud/conf.c: Fixed int -> char casts to deal
|
||||||
|
@ -129,6 +129,7 @@ static int qemudDispatchSignal(struct qemud_server *server)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SIGINT:
|
case SIGINT:
|
||||||
|
case SIGQUIT:
|
||||||
case SIGTERM:
|
case SIGTERM:
|
||||||
qemudLog(QEMUD_WARN, "Shutting down on signal %d", sigc);
|
qemudLog(QEMUD_WARN, "Shutting down on signal %d", sigc);
|
||||||
server->shutdown = 1;
|
server->shutdown = 1;
|
||||||
@ -1610,6 +1611,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
sigaction(SIGHUP, &sig_action, NULL);
|
sigaction(SIGHUP, &sig_action, NULL);
|
||||||
sigaction(SIGINT, &sig_action, NULL);
|
sigaction(SIGINT, &sig_action, NULL);
|
||||||
|
sigaction(SIGQUIT, &sig_action, NULL);
|
||||||
sigaction(SIGTERM, &sig_action, NULL);
|
sigaction(SIGTERM, &sig_action, NULL);
|
||||||
sigaction(SIGCHLD, &sig_action, NULL);
|
sigaction(SIGCHLD, &sig_action, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user