mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
Merge of 23812: fix core dump on ( command & ) from 23460.
This commit is contained in:
parent
3dde427b01
commit
8eb0cb25f5
1 changed files with 2 additions and 1 deletions
|
@ -2571,7 +2571,8 @@ execcmd(Estate state, int input, int output, int how, int last1)
|
|||
if (fdtable[i] != FDT_UNUSED)
|
||||
close(i);
|
||||
closem(FDT_UNUSED);
|
||||
waitjobs();
|
||||
if (thisjob != -1)
|
||||
waitjobs();
|
||||
_exit(lastval);
|
||||
}
|
||||
fixfds(save);
|
||||
|
|
Loading…
Reference in a new issue