disable ask on sync action
This commit is contained in:
parent
523ba0820b
commit
c3ce2eb169
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ def sync_repositories(module, webrsync=False):
|
||||||
webrsync_path = module.get_bin_path('emerge-webrsync', required=True)
|
webrsync_path = module.get_bin_path('emerge-webrsync', required=True)
|
||||||
cmd = '%s --quiet' % webrsync_path
|
cmd = '%s --quiet' % webrsync_path
|
||||||
else:
|
else:
|
||||||
cmd = '%s --sync --quiet' % module.emerge_path
|
cmd = '%s --sync --quiet --ask=n' % module.emerge_path
|
||||||
|
|
||||||
rc, out, err = module.run_command(cmd)
|
rc, out, err = module.run_command(cmd)
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
|
|
Loading…
Reference in a new issue