mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
Fix exit status of zsh -fc '! command'
This commit is contained in:
parent
9906e86aee
commit
87ca460fe5
2 changed files with 6 additions and 0 deletions
|
|
@ -943,6 +943,8 @@ execpline(Estate state, wordcode slcode, int how, int last1)
|
|||
|
||||
if (wc_code(code) != WC_PIPE)
|
||||
return lastval = (slflags & WC_SUBLIST_NOT) != 0;
|
||||
else if (slflags & WC_SUBLIST_NOT)
|
||||
last1 = 0;
|
||||
|
||||
pj = thisjob;
|
||||
ipipe[0] = ipipe[1] = opipe[0] = opipe[1] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue