• R/O
  • SSH
  • HTTPS

yash: 提交


Commit MetaInfo

修訂4216 (tree)
時間2022-11-03 14:57:08
作者magicant

Log Message

Remove unnecessary apply_errexit_errreturn call

This call was added in r3628 to handle redirection errors in compound
commands. Since r4130 split the function so simple and compound commands
are handled in separate functions, the call is not needed now.

Change Summary

差異

--- yash/trunk/exec.c (revision 4215)
+++ yash/trunk/exec.c (revision 4216)
@@ -743,7 +743,6 @@
743743 if (!open_redirections(c->c_redirs, &savefd)) {
744744 /* On redirection error, the command is not executed. */
745745 laststatus = Exit_REDIRERR;
746- apply_errexit_errreturn(NULL);
747746 if (posixly_correct && !is_interactive_now && is_special_builtin(argv0))
748747 finally_exit = true;
749748 goto done;
Show on old repository browser