From 08c68653dd3dc7921339dfe4627c464ef4249faa Mon Sep 17 00:00:00 2001 From: trz Date: Wed, 19 Oct 2005 19:35:35 +0000 Subject: fixes part of PR1194 (passing -o option to stpd) --- buildrun.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildrun.cxx') 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 + "\" "; -- cgit