diff options
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r-- | runit/runsvdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index 38da7f8ae..94397bc36 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c | |||
@@ -300,10 +300,10 @@ int runsvdir_main(int argc, char **argv) | |||
300 | stamplog = now + 900; | 300 | stamplog = now + 900; |
301 | } | 301 | } |
302 | } | 302 | } |
303 | deadline = now + (check ? 1 : 5); | ||
304 | 303 | ||
305 | pfd[0].revents = 0; | 304 | pfd[0].revents = 0; |
306 | sig_block(SIGCHLD); | 305 | sig_block(SIGCHLD); |
306 | deadline = (check ? 1 : 5); | ||
307 | if (rplog) | 307 | if (rplog) |
308 | poll(pfd, 1, deadline*1000); | 308 | poll(pfd, 1, deadline*1000); |
309 | else | 309 | else |