summaryrefslogtreecommitdiff
path: root/runit/runsvdir.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-29 23:55:30 +0000
committerDenis Vlasenko2007-09-29 23:55:30 +0000
commit43f0a0bb3a178794ac9fa3f5010db680c5d1b018 (patch)
tree7f3c2fae714d8260c100fbad6627c7ae4e8c43fe /runit/runsvdir.c
parente755e827f7c8ecb21787a4369d7afdeda54d112b (diff)
downloadbusybox-43f0a0bb3a178794ac9fa3f5010db680c5d1b018.zip
busybox-43f0a0bb3a178794ac9fa3f5010db680c5d1b018.tar.gz
apply all post-1.7.1 patches, set version to 1.7.21_7_2
Diffstat (limited to 'runit/runsvdir.c')
-rw-r--r--runit/runsvdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c
index 38da7f8..94397bc 100644
--- a/runit/runsvdir.c
+++ b/runit/runsvdir.c
@@ -300,10 +300,10 @@ int runsvdir_main(int argc, char **argv)
stamplog = now + 900;
}
}
- deadline = now + (check ? 1 : 5);
pfd[0].revents = 0;
sig_block(SIGCHLD);
+ deadline = (check ? 1 : 5);
if (rplog)
poll(pfd, 1, deadline*1000);
else