aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runit/runsvdir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 809c48a51..a08af3bae 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -345,14 +345,12 @@ int runsvdir_main(int argc UNUSED_PARAM, char **argv)
#endif
{
unsigned deadline = (need_rescan ? 1 : 5);
- sig_block(SIGCHLD);
#if ENABLE_FEATURE_RUNSVDIR_LOG
if (rplog)
poll(pfd, 1, deadline*1000);
else
#endif
sleep(deadline);
- sig_unblock(SIGCHLD);
}
#if ENABLE_FEATURE_RUNSVDIR_LOG