Commit 620aeeb5 by Brian Coca

fixed but in pulling data from dmesg command, wrong function to use as file for for loop

Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
parent fea5d364
......@@ -444,7 +444,7 @@ class FreeBSDHardware(Hardware):
except IOError:
dmesg_cmd = subprocess.Popen("/sbin/dmesg", shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
dmesg_boot,dmesg_err = dmesg_cmd.communicate()
dmesg_boot = dmesg_cmd.stdout
for line in dmesg_boot.readlines():
if 'CPU:' in line:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment