Successfull exit if sync=yes and no package provided

reviewable/pr18780/r1
Maxim Odinintsev 10 years ago
parent f4774a71b7
commit f4c183f5b8

@ -362,7 +362,7 @@ def main():
if p['sync']:
sync_repositories(module, webrsync=(p['sync'] == 'web'))
if not p['package']:
module.exit_json(msg='Sync successfuly finished.')
module.exit_json(msg='Sync successfully finished.')
packages = p['package'].split(',') if p['package'] else []

Loading…
Cancel
Save