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) | |
| download | busybox-w32-a6a1785a30d6fe011eeabec3c19e154dc475b1b0.tar.gz busybox-w32-a6a1785a30d6fe011eeabec3c19e154dc475b1b0.tar.bz2 busybox-w32-a6a1785a30d6fe011eeabec3c19e154dc475b1b0.zip | |
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) | |||
| 61 | #endif /* FEATURE_FANCY_SLEEP */ | 61 | #endif /* FEATURE_FANCY_SLEEP */ |
| 62 | 62 | ||
| 63 | if (sleep(duration)) { | 63 | if (sleep(duration)) { |
| 64 | //for hush debugging: | ||
| 65 | sleep(1); | ||
| 64 | bb_perror_nomsg_and_die(); | 66 | bb_perror_nomsg_and_die(); |
| 65 | } | 67 | } |
| 66 | 68 | ||
