commit | da534b740e628512e8e0e62729d6a2ef521e5096 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jun 07 16:47:59 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 02 22:10:56 2016 +0800 |
tree | 738f2514591e0de3ba1b38f40d483af3b90cd87d | |
parent | 203e8395faa9135956e3b2a2b749b6dd96a7e988 [diff] |
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>