mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 19:23:09 +00:00
Make sure we don't catch rc=0 as a timeout (#2823)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user