Merge pull request #439 from rramthun/portage-remove-ask-on-sync

disable ask on sync operation
This commit is contained in:
Brian Coca 2015-05-01 16:31:23 -04:00
commit 495ad450e5

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: