diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2021-05-06 10:03:27 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2021-05-06 10:03:27 +0100 |
commit | 9e38ab81785c4ac755a7e78d2fe7a7db92bdf375 (patch) | |
tree | 6b9bbcb6fbfd2f987656d837b3f338037086436f /ChangeLog | |
parent | c1f932d66896753eb118003b7c1b1139bc6c8725 (diff) | |
download | zsh-9e38ab81785c4ac755a7e78d2fe7a7db92bdf375.tar.gz zsh-9e38ab81785c4ac755a7e78d2fe7a7db92bdf375.tar.xz zsh-9e38ab81785c4ac755a7e78d2fe7a7db92bdf375.zip |
48787: Fix command status after failed if
If "if" had a hard error in the condition, and there was no else clause, the command status was incorrectly cleared to zero. Add test.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 7dc9cbc6d..9392e39d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-05-06 Peter Stephenson <p.stephenson@samsung.com> + + * 48787: Src/loop.c, Test/A01grammar.ztst: status was incorrect + on hard error flagged by condition in "if" without "else". + 2021-05-03 dana <dana@dana.is> * unposted (see 48613): Etc/FAQ.yo: Move section 3.31 to 2.8 |