hush: add ctrl-Z handling for nofork'ed case
This commit is contained in:
@ -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