From de45fcbdbc186fb96943f70786453bcc38306621 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 28 Dec 2023 22:24:32 +0100 Subject: Don’t call cmdput() before execvp() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cbs.h | 1 - 1 file changed, 1 deletion(-) 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); } -- cgit v1.2.3