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

pull/18777/head
Matt Martz 8 years ago committed by Matt Clay
parent 3cb7e4bd0e
commit 91abacfca7

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

Loading…
Cancel
Save