diff options
-rw-r--r-- | sinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ main(void) if (sigprocmask(SIG_BLOCK, &sigset, NULL) < 0) eprintf("sinit: sigprocmask:"); - sigfd = signalfd(-1, &sigset, 0); + sigfd = signalfd(-1, &sigset, SFD_CLOEXEC); if (sigfd < 0) eprintf("sinit: signalfd:"); |