diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-10-07 10:55:15 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-10-07 10:55:15 +0800 |
commit | 7f684260a2426ac61c06d2e4822429b00437ae24 (patch) | |
tree | d83efa4a89c7bbc607768a49074c3efc9fd91a52 /src/jobs.h | |
parent | [BUILTIN] Fix trailing field bug in read(1) (diff) | |
download | dash-7f684260a2426ac61c06d2e4822429b00437ae24.tar.gz dash-7f684260a2426ac61c06d2e4822429b00437ae24.zip |
[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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions