On Mon, Feb 03, 2014 at 01:21:05PM -0700, Stephen Warren wrote:
> From: Stephen Warren
>
> This emulates bash:
> $ if test; then echo yes; else echo no; fi
> no
>
> Currently, the code sets expr = -1 in this case, which gets mapped to
> 0 (true) at the end of do_test() by the logical -> shell e
From: Stephen Warren
This emulates bash:
$ if test; then echo yes; else echo no; fi
no
Currently, the code sets expr = -1 in this case, which gets mapped to
0 (true) at the end of do_test() by the logical -> shell exit code
conversion.
Signed-off-by: Stephen Warren
---
v4: No change.
v3: New p
2 matches
Mail list logo