summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 221d0463..2fb3439c 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -139,7 +139,7 @@ run_pass (systemtap_session& s)
staprun_cmd += "-d " + stringify(getpid()) + " ";
if (s.cmd != "")
- staprun_cmd += "-c \"" + s.cmd + "\" ";
+ staprun_cmd += "-c " + cmdstr_quoted(s.cmd) + " ";
if (s.target_pid)
staprun_cmd += "-t " + stringify(s.target_pid) + " ";