mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-10 05:30:49 +02:00
wait -n' notifies on a job it returns; in posix mode, wait' defers notification on a reaped pid unless the shell is interactive, as posix now specifies
This commit is contained in:
@@ -2493,7 +2493,7 @@ shell_getc (int remove_quoted_newline)
|
||||
of a trap, when the trap is called from flush_child. This call
|
||||
had better not cause jobs to disappear from the job table in
|
||||
that case, or we will have big trouble. */
|
||||
notify_and_cleanup ();
|
||||
notify_and_cleanup (-1);
|
||||
#else /* !JOB_CONTROL */
|
||||
cleanup_dead_jobs ();
|
||||
#endif /* !JOB_CONTROL */
|
||||
|
||||
Reference in New Issue
Block a user