Bash-4.4 patch 4

This commit is contained in:
Chet Ramey 2016-11-14 14:27:35 -05:00
commit 2965eca924
4 changed files with 18 additions and 5 deletions

View file

@ -5808,10 +5808,7 @@ process_substitute (string, open_for_read_in_child)
{
#if defined (JOB_CONTROL)
if (last_procsub_child)
{
discard_pipeline (last_procsub_child);
last_procsub_child = (PROCESS *)NULL;
}
discard_last_procsub_child ();
last_procsub_child = restore_pipeline (0);
#endif