Merge pull request #17301 from ze42/develop

pkgin: fix upgrade
This commit is contained in:
Thomas S Hatch 2014-11-10 11:07:58 -07:00
commit 72347cdc7e

View File

@ -377,7 +377,7 @@ def upgrade():
return {}
old = list_pkgs()
call = __salt__['cmd.ret_all']('{0} -y fug'.format(pkgin))
call = __salt__['cmd.run_all']('{0} -y fug'.format(pkgin))
if call['retcode'] != 0:
ret['result'] = False
if 'stderr' in call: