diff options
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index 2ec5e03c..e1663d6e 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -70,8 +70,10 @@ run_pass (systemtap_session& s) sighandler_t oldsig = signal (SIGINT, SIG_IGN); // for now, just spawn stpd - string stpd_cmd = string("/usr/bin/sudo ") + - string(LIBEXECDIR) + "/stpd " + s.tmpdir + "/" + s.module_name + ".ko"; + string stpd_cmd = string("/usr/bin/sudo ") + + string(PKGLIBDIR) + "/stpd " + + (s.verbose ? "" : "-q ") + + s.tmpdir + "/" + s.module_name + ".ko"; if (s.verbose) clog << "Running " << stpd_cmd << endl; int rc = system (stpd_cmd.c_str ()); |