svn commit: trunk/busybox/runit
vda at busybox.net
vda at busybox.net
Wed Sep 26 12:18:08 UTC 2007
Author: vda
Date: 2007-09-26 05:18:07 -0700 (Wed, 26 Sep 2007)
New Revision: 20039
Log:
runsvdir: fix "linear wait time" bug
Modified:
trunk/busybox/runit/runsvdir.c
Changeset:
Modified: trunk/busybox/runit/runsvdir.c
===================================================================
--- trunk/busybox/runit/runsvdir.c 2007-09-26 10:46:18 UTC (rev 20038)
+++ trunk/busybox/runit/runsvdir.c 2007-09-26 12:18:07 UTC (rev 20039)
@@ -300,10 +300,10 @@
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
More information about the busybox-cvs
mailing list