aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/foreman.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py
index 661c0756..773efeeb 100644
--- a/sos/plugins/foreman.py
+++ b/sos/plugins/foreman.py
@@ -25,7 +25,8 @@ class Foreman(Plugin, RedHatPlugin):
packages = ('foreman')
def setup(self):
- self.add_cmd_output("%s -q -a -d %s" % ("foreman-debug",
- self.get_cmd_output_path(name="foreman-debug")))
+ cmd = "foreman-debug"
+ path = self.get_cmd_output_path(name="foreman-debug")
+ self.add_cmd_output("%s -q -a -d %s" % (cmd, path))
# vim: et ts=4 sw=4