disable ask on sync action

This commit is contained in:
Roland Ramthun 2015-05-01 10:01:56 +02:00 committed by Matt Clay
parent 523ba0820b
commit c3ce2eb169

View file

@ -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: