diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-29 23:55:30 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-29 23:55:30 +0000 |
| commit | 43f0a0bb3a178794ac9fa3f5010db680c5d1b018 (patch) | |
| tree | 7f3c2fae714d8260c100fbad6627c7ae4e8c43fe /runit | |
| parent | e755e827f7c8ecb21787a4369d7afdeda54d112b (diff) | |
| download | busybox-w32-1_7_2.tar.gz busybox-w32-1_7_2.tar.bz2 busybox-w32-1_7_2.zip | |
apply all post-1.7.1 patches, set version to 1.7.21_7_2
Diffstat (limited to 'runit')
| -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 |
