Merge pull request #8143 from PinGwynn/feature

portage: default exit (not fail) if sync=yes in check mode
reviewable/pr18780/r1
Michael DeHaan 10 years ago
commit e6f495cc3b

@ -194,7 +194,7 @@ def query_set(module, set, action):
def sync_repositories(module, webrsync=False): def sync_repositories(module, webrsync=False):
if module.check_mode: 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: if webrsync:
webrsync_path = module.get_bin_path('emerge-webrsync', required=True) webrsync_path = module.get_bin_path('emerge-webrsync', required=True)

Loading…
Cancel
Save