Commit 157b7835 by Michael DeHaan Committed by Michael DeHaan

Merge pull request #6491 from jlaska/apt_repository_signing_fix

[apt_repository] Correct check_mode conditional logic
parent fc028830
......@@ -353,9 +353,9 @@ def get_add_ppa_signing_key_callback(module):
module.run_command(command, check_rc=True)
if module.check_mode:
return _run_command
else:
return None
else:
return _run_command
def main():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment