diff options
Diffstat (limited to 'miscutils/timeout.c')
-rw-r--r-- | miscutils/timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c index 48b8d8fc0..841669416 100644 --- a/miscutils/timeout.c +++ b/miscutils/timeout.c | |||
@@ -83,7 +83,7 @@ int timeout_main(int argc UNUSED_PARAM, char **argv) | |||
83 | bb_daemonize_or_rexec(0, argv); | 83 | bb_daemonize_or_rexec(0, argv); |
84 | /* Here we are grandchild. Sleep, then kill grandparent */ | 84 | /* Here we are grandchild. Sleep, then kill grandparent */ |
85 | grandchild: | 85 | grandchild: |
86 | /* Just sleep(NUGE_NUM); kill(parent) may kill wrong process! */ | 86 | /* Just sleep(HUGE_NUM); kill(parent) may kill wrong process! */ |
87 | while (1) { | 87 | while (1) { |
88 | sleep(1); | 88 | sleep(1); |
89 | if (--timeout <= 0) | 89 | if (--timeout <= 0) |