use global to fail as its not in self

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
pull/3622/head
Brian Coca 12 years ago
parent 524c7bd791
commit 3f85a82ae9

@ -636,7 +636,7 @@ class LinuxHardware(Hardware):
if e.errno == errno.ENOENT:
pass
else:
self.fail_json(msg=e.strerror)
module.fail_json(msg=e.strerror)
self.facts['mounts'].append(
{'mount': fields[1],

Loading…
Cancel
Save