hush: add ctrl-Z handling for nofork'ed case

This commit is contained in:
Denis Vlasenko committed 2007-04-28 16:42:11 +00:00
1 parent 706fdc98c3
commit a6a1785a30
2 files changed
+84 -13

No files matched your search

+2
View File
@@ -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();
}