From da733f5df691d01caff0a01addba234aad1b6864 Mon Sep 17 00:00:00 2001 From: Philippe Altherr Date: Fri, 28 Jun 2024 21:05:42 -0700 Subject: 52977: ERR_EXIT/ERR_RETURN are respected by the final command in && / || lists --- Src/exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src') diff --git a/Src/exec.c b/Src/exec.c index e955e85df..a473938ec 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1568,6 +1568,7 @@ execlist(Estate state, int dont_change_job, int exiting) } state->pc = next; code = *state->pc++; + noerrexit = oldnoerrexit; } state->pc--; sublist_done: -- cgit 1.4.1