Success exit if sync=yes and no package provided

pull/7939/head
Maxim Odinintsev 10 years ago
parent 05eb6aacec
commit a58912773d

@ -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 []

Loading…
Cancel
Save