Synopsis: sh(1) and bash(1) with -e sometimes fail to test errors in functions
State-Changed-From-To: open->closed State-Changed-By: jilles State-Changed-When: Sun Jun 12 10:36:20 UTC 2011 State-Changed-Why: Fixing this would require a new '-e'-like option so as to avoid breaking existing scripts relying on '-e'. The exact behaviour of the new option is unclear and it seems an ugly solution to me. It also looks like you have not asked bash maintainers about this. Another alternative other than '|| exit' is 'terminating' commands with '&&' rather than ';'. Responsible-Changed-From-To: freebsd-bugs->jilles Responsible-Changed-By: jilles Responsible-Changed-When: Sun Jun 12 10:36:20 UTC 2011 Responsible-Changed-Why: Track. http://www.freebsd.org/cgi/query-pr.cgi?pr=111343 _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"