mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
11066: false || true was trigerring trap on ZERR
This commit is contained in:
parent
f3be526791
commit
9420498acf
2 changed files with 9 additions and 2 deletions
|
@ -842,7 +842,8 @@ execlist(Estate state, int dont_change_job, int exiting)
|
|||
* for this sublist. */
|
||||
donetrap = 1;
|
||||
goto sublist_done;
|
||||
}
|
||||
} else if (WC_SUBLIST_TYPE(code) == WC_SUBLIST_END)
|
||||
donetrap = 1;
|
||||
}
|
||||
cmdpush(CS_CMDAND);
|
||||
break;
|
||||
|
@ -867,7 +868,8 @@ execlist(Estate state, int dont_change_job, int exiting)
|
|||
* for this sublist. */
|
||||
donetrap = 1;
|
||||
goto sublist_done;
|
||||
}
|
||||
} else if (WC_SUBLIST_TYPE(code) == WC_SUBLIST_END)
|
||||
donetrap = 1;
|
||||
}
|
||||
cmdpush(CS_CMDOR);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue