diff options
| -rw-r--r-- | src/supervision/s6-background-watch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/supervision/s6-background-watch.c b/src/supervision/s6-background-watch.c index 8c4053b..1ea37f8 100644 --- a/src/supervision/s6-background-watch.c +++ b/src/supervision/s6-background-watch.c @@ -175,6 +175,8 @@ int main (int argc, char const *const *argv) { sigset_t full ; sigfillset(&full) ; + if (selfpipe_init() == -1) + strerr_diefu1sys(111, "init selfpipe") ; if (!selfpipe_trapset(&full)) strerr_diefu1sys(111, "trap all signals") ; x[0].fd = selfpipe_fd() ; |
