pkgin: fix upgrade

Fix typo introduced in https://github.com/saltstack/salt/pull/14812
This commit is contained in:
Adrien "ze" Urban 2014-11-10 13:12:21 +01:00
parent 1071ec0859
commit f649f08ee5

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: