aboutsummaryrefslogtreecommitdiff
path: root/sdn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdn.cpp')
-rw-r--r--sdn.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sdn.cpp b/sdn.cpp
index fdbb1f7..ff1e397 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -861,8 +861,7 @@ fun run_program (initializer_list<const char*> list, const string &filename) {
for (auto program : list)
if ((found = program))
break;
- g.ext_helper = "/bin/sh -c " +
- shell_escape (string (found) + " " + shell_escape (filename));
+ g.ext_helper = found + (" " + shell_escape (filename));
g.quitting = true;
return;
}