1
0
Fork 0
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:
Peter Stephenson 2000-05-02 13:08:19 +00:00
parent f3be526791
commit 9420498acf
2 changed files with 9 additions and 2 deletions

View file

@ -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;