Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] typeset: set $? on incidental error



On Jan 26, 10:50pm, Daniel Shahaf wrote:
}
} If existing typesets always exit zero in the circumstance that the patch
} proposes to change, no code would be broken by this change (no existing
} code, no new zsh-targeted code, no new ksh-targeted code), except for
} new ksh-targeted code written by zsh users who won't be aware of this
} difference.

This is not true.  Scripts using "setopt errexit" or "setopt errreturn"
or "set -e" will fail in ways they did not fail before.



Messages sorted by: Reverse Date, Date, Thread, Author