aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/report/plugins/vhostmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/report/plugins/vhostmd.py b/sos/report/plugins/vhostmd.py
index d90852ba..13378f2d 100644
--- a/sos/report/plugins/vhostmd.py
+++ b/sos/report/plugins/vhostmd.py
@@ -20,7 +20,7 @@ class vhostmd(Plugin, RedHatPlugin):
packages = ['virt-what']
def setup(self):
- vw = self.exec_cmd("virt-what")['output'].splitlines()
+ vw = self.collect_cmd_output("virt-what")['output'].splitlines()
if not vw:
return