From a6a1785a30d6fe011eeabec3c19e154dc475b1b0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 28 Apr 2007 16:42:11 +0000 Subject: hush: add ctrl-Z handling for nofork'ed case --- coreutils/sleep.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coreutils') 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(); } -- cgit v1.2.3