diff options
| author | Daniel Shahaf <danielsh@apache.org> | 2020-01-15 18:02:33 +0000 |
|---|---|---|
| committer | Daniel Shahaf <danielsh@apache.org> | 2020-01-16 18:29:13 +0000 |
| commit | 7ca2b06501b463641426d009a54b21b89b8ca9ee (patch) | |
| tree | 2ab6553294aeddb16030f1199f3da8a73ba425f7 /Src/loop.c | |
| parent | Merge branch 'master' into 5.9 (diff) | |
| download | zsh-7ca2b06501b463641426d009a54b21b89b8ca9ee.tar zsh-7ca2b06501b463641426d009a54b21b89b8ca9ee.tar.gz zsh-7ca2b06501b463641426d009a54b21b89b8ca9ee.tar.bz2 zsh-7ca2b06501b463641426d009a54b21b89b8ca9ee.tar.lz zsh-7ca2b06501b463641426d009a54b21b89b8ca9ee.tar.xz zsh-7ca2b06501b463641426d009a54b21b89b8ca9ee.tar.zst zsh-7ca2b06501b463641426d009a54b21b89b8ca9ee.zip | |
45304: Do execute the always block even when the try/always block itself is the last command.
Fixes the test added in the previous commit (workers/45305).
Diffstat (limited to 'Src/loop.c')
| -rw-r--r-- | Src/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/loop.c b/Src/loop.c index 538afb8dc..57858a150 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -742,7 +742,7 @@ exectry(Estate state, int do_exec) /* The :try clause */ ++try_tryflag; - execlist(state, 1, do_exec); + execlist(state, 1, 0); --try_tryflag; /* Don't record errflag here, may be reset. However, */ |
