diff options
author | Chet Ramey <chet.ramey@case.edu> | 2020-12-30 13:17:27 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2020-12-30 13:17:27 -0500 |
commit | e58dc557e2cc64ce43e65ecd360b5d25913b6b33 (patch) | |
tree | 059f84166d9e8ce8d593af979ce7461dfb783aa9 /jobs.c | |
parent | 3c5683a47b8ad7abd8232dee8a47d7c821904802 (diff) | |
download | bash-e58dc557e2cc64ce43e65ecd360b5d25913b6b33.tar.gz |
commit bash-20201226 snapshot
Diffstat (limited to 'jobs.c')
-rw-r--r-- | jobs.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -643,6 +643,9 @@ stop_pipeline (async, deferred) the_pipeline = (PROCESS *)NULL; newjob->pgrp = pipeline_pgrp; + + /* Invariant: if the shell is executing a command substitution, + pipeline_pgrp == shell_pgrp. Other parts of the shell assume this. */ if (pipeline_pgrp != shell_pgrp) pipeline_pgrp = 0; |