diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-07 16:47:59 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-02 22:10:56 +0800 |
commit | da534b740e628512e8e0e62729d6a2ef521e5096 (patch) | |
tree | 738f2514591e0de3ba1b38f40d483af3b90cd87d /src/bltin/test.1 | |
parent | jobs: Handle string-based job descriptors (diff) | |
download | dash-da534b740e628512e8e0e62729d6a2ef521e5096.tar.gz dash-da534b740e628512e8e0e62729d6a2ef521e5096.zip |
eval: Return status in eval functions
The exit status is currently clobbered too early for case statements and loops. This patch fixes it by making the eval functions return the current exit status and setting them in one place -- evaltree. Harald van Dijk pointed out a number of bugs in the original patch. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/bltin/test.1')
0 files changed, 0 insertions, 0 deletions