diff options
| author | Philippe Altherr <philippe.altherr@gmail.com> | 2024-06-28 21:05:42 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2024-06-28 21:05:42 -0700 |
| commit | da733f5df691d01caff0a01addba234aad1b6864 (patch) | |
| tree | f4490e06d0eaa4300f24ee2ff6851986d73f6941 /Src | |
| parent | 52968: use pdfroff to create intro.pdf (diff) | |
| download | zsh-da733f5df691d01caff0a01addba234aad1b6864.tar zsh-da733f5df691d01caff0a01addba234aad1b6864.tar.gz zsh-da733f5df691d01caff0a01addba234aad1b6864.tar.bz2 zsh-da733f5df691d01caff0a01addba234aad1b6864.tar.lz zsh-da733f5df691d01caff0a01addba234aad1b6864.tar.xz zsh-da733f5df691d01caff0a01addba234aad1b6864.tar.zst zsh-da733f5df691d01caff0a01addba234aad1b6864.zip | |
52977: ERR_EXIT/ERR_RETURN are respected by the final command in && / || lists
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |
