Re: [PATCH] hush: fix conditional statements exit code

2021-08-23 Thread Sascha Hauer
On Tue, Aug 10, 2021 at 07:47:12AM +0200, Andrej Picej wrote: > Fix conditional statements ("if" , "elif", "while" and "until") exit > code when used in scripts. Before the change, when conditional statement > evaluated false just before the end of the script, script's exit code > would have been 1

[PATCH] hush: fix conditional statements exit code

2021-08-09 Thread Andrej Picej
Fix conditional statements ("if" , "elif", "while" and "until") exit code when used in scripts. Before the change, when conditional statement evaluated false just before the end of the script, script's exit code would have been 1 (instead of 0), which implies error condition. This is not expected n