diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-28 16:42:11 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-28 16:42:11 +0000 |
commit | a6a1785a30d6fe011eeabec3c19e154dc475b1b0 (patch) | |
tree | 2233696369eac228e4fe16caa802888d6fb0b17b /coreutils | |
parent | 706fdc98c3d30687d1ce359f58424c87e253017c (diff) |
hush: add ctrl-Z handling for nofork'ed case
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/sleep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/sleep.c b/coreutils/sleep.c index 592005bab..b758de33b 100644 --- a/coreutils/sleep.c +++ b/coreutils/sleep.c @@ -61,6 +61,8 @@ int sleep_main(int argc, char **argv) #endif /* FEATURE_FANCY_SLEEP */ if (sleep(duration)) { +//for hush debugging: +sleep(1); bb_perror_nomsg_and_die(); } |