Date: Sat, 10 Sep 2005 07:41:37 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh eval.c Message-ID: <200509100741.j8A7fbfi010772@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2005-09-10 07:41:36 UTC
FreeBSD src repository
Modified files:
bin/sh eval.c
Log:
Exit the shell if a pipeline that is not preceded by ! fails and set -e is
active. Use a separate flag to avoid adding another condition to the
if-statement at the end of evaltree().
Briefly reviewed by: cracauer
Revision Changes Path
1.44 +7 -3 src/bin/sh/eval.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509100741.j8A7fbfi010772>
