diff --git a/packaging/portage b/packaging/portage index 2cce4b41d1e..c9d9774d428 100644 --- a/packaging/portage +++ b/packaging/portage @@ -362,7 +362,7 @@ def main(): if p['sync']: sync_repositories(module, webrsync=(p['sync'] == 'web')) if not p['package']: - return + module.exit_json(msg='Sync successfuly finished.') packages = p['package'].split(',') if p['package'] else []