Commit 5c959e7a by James Cammarata

Merge pull request #7939 from PinGwynn/feature

portage: Successful exit if sync=yes and no package provided
parents 05eb6aac 82c02638
......@@ -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 successfully finished.')
packages = p['package'].split(',') if p['package'] else []
......
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