Skip to content

Commit

Permalink
Merge pull request ansible#6491 from jlaska/apt_repository_signing_fix
Browse files Browse the repository at this point in the history
[apt_repository] Correct check_mode conditional logic
  • Loading branch information
mpdehaan authored and Michael DeHaan committed Mar 14, 2014
1 parent fc02883 commit 157b783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/packaging/apt_repository
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 157b783

Please sign in to comment.