summaryrefslogtreecommitdiffstats
path: root/lib/Utils/spawn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utils/spawn.cpp')
-rw-r--r--lib/Utils/spawn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/spawn.cpp b/lib/Utils/spawn.cpp
index 43c4b4a..54d08a4 100644
--- a/lib/Utils/spawn.cpp
+++ b/lib/Utils/spawn.cpp
@@ -115,7 +115,7 @@ char *run_in_shell_and_save_output(int flags,
flags |= EXECFLG_OUTPUT;
flags &= ~EXECFLG_INPUT;
- const char *argv[] = { "/bin/sh", "sh", "-c", cmd, NULL };
+ const char *argv[] = { "/bin/sh", "-c", cmd, NULL };
int pipeout[2];
pid_t child = fork_execv_on_steroids(flags, (char **)argv, pipeout,
/*unsetenv_vec:*/ NULL, dir, /*uid (unused):*/ 0);