From 36b9964c8880d3753c63d7d7db77b5637212fe62 Mon Sep 17 00:00:00 2001 From: Maxim Odinintsev Date: Tue, 15 Jul 2014 16:04:19 +0300 Subject: [PATCH] portage: default exit (not fail) if sync=yes in check mode --- packaging/portage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/portage b/packaging/portage index c9f3f24bdab..a780e7444ec 100644 --- a/packaging/portage +++ b/packaging/portage @@ -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)