From 4716e20e8d903534fae35846b7f50d0bcbc72600 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Thu, 25 Apr 2013 18:23:02 +0100 Subject: Fix running of RHN hardware.py script The hardware.py script is no longer executable. Run it via the python interpreter. Signed-off-by: Bryn M. Reeves --- sos/plugins/hardware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py index f5e2816c..11b0a2c4 100644 --- a/sos/plugins/hardware.py +++ b/sos/plugins/hardware.py @@ -79,7 +79,7 @@ class RedHatHardware(hardware, RedHatPlugin): hwpaths = glob("/usr/share/rhn/up2date*client/hardware.py") if (len(hwpaths) == 0): return - self.add_cmd_output(hwpaths[0]) + self.add_cmd_output("python " + hwpaths[0]) class DebianHardware(hardware, DebianPlugin, UbuntuPlugin): -- cgit