1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

Merge pull request #1179 from poettering/sd-event-sigchld-fix

sd-event: make sure to create a signal queue for the right signal
This commit is contained in:
Tom Gundersen 2015-09-07 03:02:08 +02:00
commit 5bac59d920

View File

@ -1708,7 +1708,7 @@ _public_ int sd_event_source_set_enabled(sd_event_source *s, int m) {
s->enabled = m;
r = event_make_signal_data(s->event, s->signal.sig, NULL);
r = event_make_signal_data(s->event, SIGCHLD, NULL);
if (r < 0) {
s->enabled = SD_EVENT_OFF;
s->event->n_enabled_child_sources--;