aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cbs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cbs.h b/cbs.h
index 1fadd5d..f6a7b00 100644
--- a/cbs.h
+++ b/cbs.h
@@ -450,7 +450,8 @@ __rebuild(char *src)
cmdclr(&cmd);
cmdaddv(&cmd, __cbs_argv, __cbs_argc);
cmdput(cmd);
- exit(cmdexec(cmd));
+ execvp(*cmd.argv, cmd.argv);
+ die("execvp: %s", *cmd.argv);
}
int