Make sure we don't catch rc=0 as a timeout (#2823)

reviewable/pr18780/r1
Matt Martz 9 years ago committed by GitHub
parent b576e116f0
commit 3867cc71a6

@ -224,7 +224,7 @@ def main():
changed=True, changed=True,
) )
if rc: if rc is not None:
module.exit_json(**ret) module.exit_json(**ret)
else: else:
ret['msg'] = 'command exceeded timeout' ret['msg'] = 'command exceeded timeout'

Loading…
Cancel
Save