Make sure we don't catch rc=0 as a timeout (#2823)
This commit is contained in:
parent
3cb7e4bd0e
commit
91abacfca7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue