Commit ec874193 by Michael DeHaan

Merge pull request #8143 from PinGwynn/feature

portage: default exit (not fail) if sync=yes in check mode
parents 62e9cf63 a587d13c
......@@ -194,7 +194,7 @@ def query_set(module, set, action):
def sync_repositories(module, webrsync=False):
if module.check_mode:
module.fail_json(msg='check mode not supported by sync')
module.exit_json(msg='check mode not supported by sync')
if webrsync:
webrsync_path = module.get_bin_path('emerge-webrsync', required=True)
......
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