summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index e8bd5855..facfbb67 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -123,6 +123,7 @@ run_pass (systemtap_session& s)
string staprun_cmd = string("sudo ")
+ string(BINDIR) + "/staprun "
+ (s.verbose>1 ? "-v " : "")
+ + (s.verbose>2 ? "-v " : "")
+ "-u " + username + " "
+ (s.output_file.empty() ? "" : "-o " + s.output_file + " ");