aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-28 16:42:11 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-28 16:42:11 +0000
commit0ad132c07285ca3448428a07d448be975526a47e (patch)
tree2233696369eac228e4fe16caa802888d6fb0b17b /coreutils
parent44eb4ca0b22616745818187dd5e69ba3d6482aa6 (diff)
downloadbusybox-w32-0ad132c07285ca3448428a07d448be975526a47e.tar.gz
busybox-w32-0ad132c07285ca3448428a07d448be975526a47e.tar.bz2
busybox-w32-0ad132c07285ca3448428a07d448be975526a47e.zip
hush: add ctrl-Z handling for nofork'ed case
git-svn-id: svn://busybox.net/trunk/busybox@18520 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/sleep.c2
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:
65sleep(1);
64 bb_perror_nomsg_and_die(); 66 bb_perror_nomsg_and_die();
65 } 67 }
66 68