portage: default exit (not fail) if sync=yes in check mode
This commit is contained in:
parent
82c026387f
commit
a587d13c65
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue