mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
always return rc
This commit is contained in:
parent
65c42605fe
commit
3f6166d2bf
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
if not cmd:
|
||||
# this can happen with powershell modules when there is no analog to a Windows command (like chmod)
|
||||
display.debug("_low_level_execute_command(): no command, exiting")
|
||||
return dict(stdout='', stderr='')
|
||||
return dict(stdout='', stderr='', rc=254)
|
||||
|
||||
allow_same_user = C.BECOME_ALLOW_SAME_USER
|
||||
same_user = self._play_context.become_user == self._play_context.remote_user
|
||||
|
|
Loading…
Reference in a new issue