summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 808eaf6..87c6932 100644
--- a/eval.c
+++ b/eval.c
@@ -415,7 +415,7 @@ bool eval_exec(const struct expr *expr, struct eval_state *state) {
int status;
if (waitpid(pid, &status, 0) < 0) {
perror("waitpid()");
- return false;
+ goto out_argv;
}
ret = WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS;