aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-28 22:24:32 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-28 22:24:32 +0100
commitde45fcbdbc186fb96943f70786453bcc38306621 (patch)
treea6c25c37515ccbf91d7f4339892147555aff9663
parentc1a2bb29b9110be99c3fe60848dd64291cd14f06 (diff)
Don’t call cmdput() before execvp()
-rw-r--r--cbs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cbs.h b/cbs.h
index f6a7b00..933b696 100644
--- a/cbs.h
+++ b/cbs.h
@@ -449,7 +449,6 @@ __rebuild(char *src)
cmdclr(&cmd);
cmdaddv(&cmd, __cbs_argv, __cbs_argc);
- cmdput(cmd);
execvp(*cmd.argv, cmd.argv);
die("execvp: %s", *cmd.argv);
}