diff options
author | Tom Gundersen <teg@jklm.no> | 2015-09-07 03:02:08 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-09-07 03:02:08 +0200 |
commit | 5bac59d9203e42e22a973f0357bd08a2ac664409 (patch) | |
tree | 7798adfab4a9b820b011871ca54d4164d07d0381 | |
parent | 6167a91c745e5406164ef57e27212ba572d9a0dc (diff) | |
parent | 10edebf6cd69cfbe0d38dbaf5478264fbb60a51e (diff) |
Merge pull request #1179 from poettering/sd-event-sigchld-fix
sd-event: make sure to create a signal queue for the right signal
-rw-r--r-- | src/libsystemd/sd-event/sd-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index 62b63ec3d9..fd39a56225 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -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--; |