summaryrefslogtreecommitdiffhomepage
path: root/coreutils/sleep.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-28 16:42:11 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-28 16:42:11 +0000
commita6a1785a30d6fe011eeabec3c19e154dc475b1b0 (patch)
tree2233696369eac228e4fe16caa802888d6fb0b17b /coreutils/sleep.c
parent706fdc98c3d30687d1ce359f58424c87e253017c (diff)
hush: add ctrl-Z handling for nofork'ed case
Diffstat (limited to 'coreutils/sleep.c')
-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)
#endif /* FEATURE_FANCY_SLEEP */
if (sleep(duration)) {
+//for hush debugging:
+sleep(1);
bb_perror_nomsg_and_die();
}