Success exit if sync=yes and no package provided
This commit is contained in:
parent
935acf9efb
commit
f4774a71b7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue