From b09a7cc5bfa0cca9eff94d5fcdd40ea611001f3c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 11 Nov 2006 13:16:10 +0000 Subject: 22997: fix ${...?...} exit and traps --- Src/builtin.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index 85c961e3d..e567675ff 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4413,6 +4413,11 @@ zexit(int val, int from_where) * indicate we shouldn't do any recursive processing. */ in_exit = -1; + /* + * We want to do all remaining processing regardless of preceeding + * errors. + */ + errflag = 0; if (isset(MONITOR)) { /* send SIGHUP to any jobs left running */ -- cgit v1.2.3