commit | 7f684260a2426ac61c06d2e4822429b00437ae24 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Oct 07 10:55:15 2010 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Oct 07 10:55:15 2010 +0800 |
tree | d83efa4a89c7bbc607768a49074c3efc9fd91a52 | |
parent | b61ab0b33b4f9ea5fb3663fe8fa0d5fd70e6c166 [diff] |
[BUILTIN] Fix EXEXEC status clobbering evalcommand always clobbers the exit status in case of an EXEXEC which means that exec always fails with exit status 2 regardless of what it actually returns. This patch adds the missing check for EXEXEC so that the correct exit status is preserved. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>