summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-28 16:42:11 +0000
committerDenis Vlasenko2007-04-28 16:42:11 +0000
commita6a1785a30d6fe011eeabec3c19e154dc475b1b0 (patch)
tree2233696369eac228e4fe16caa802888d6fb0b17b /coreutils
parent706fdc98c3d30687d1ce359f58424c87e253017c (diff)
downloadbusybox-a6a1785a30d6fe011eeabec3c19e154dc475b1b0.zip
busybox-a6a1785a30d6fe011eeabec3c19e154dc475b1b0.tar.gz
hush: add ctrl-Z handling for nofork'ed case
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 592005b..b758de3 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();
}