From 96f5a3404ac1b2ad0a00f4da1c08e7b95791effc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 27 Oct 2025 14:02:44 +0000 Subject: s6-background-watch: don't forget selfpipe_init --- src/supervision/s6-background-watch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/supervision/s6-background-watch.c') 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() ; -- cgit v1.3.1