made continue into a pass (there was no loop)

This commit is contained in:
Brian Coca 2015-08-13 10:05:30 -04:00
parent 6d7428527d
commit 5d7cb981d3

View file

@ -984,7 +984,7 @@ class FreeBsdService(Service):
rcvars = shlex.split(stdout, comments=True) rcvars = shlex.split(stdout, comments=True)
except: except:
#TODO: add a warning to the output with the failure #TODO: add a warning to the output with the failure
continue pass
if not rcvars: if not rcvars:
self.module.fail_json(msg="unable to determine rcvar", stdout=stdout, stderr=stderr) self.module.fail_json(msg="unable to determine rcvar", stdout=stdout, stderr=stderr)