disable ask on sync action

pull/18777/head
Roland Ramthun 10 years ago committed by Matt Clay
parent 523ba0820b
commit c3ce2eb169

@ -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…
Cancel
Save