summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 8bc0c4bf..ade972be 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -148,7 +148,8 @@ run_pass (systemtap_session& s)
string stpd_cmd = string("sudo ")
+ string(PKGLIBDIR) + "/stpd "
+ (s.bulk_mode ? "" : "-r ")
- + (s.verbose ? "" : "-q ");
+ + (s.verbose ? "" : "-q ")
+ + (s.output_file.empty() ? "" : "-o " + s.output_file + " ");
if (s.cmd != "")
stpd_cmd += "-c \"" + s.cmd + "\" ";