hush: add ctrl-Z handling for nofork'ed case
This commit is contained in:
1 parent
706fdc98c3
commit
a6a1785a30
2 files changed
+84
-13
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user