mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
pkgin: fix upgrade
Fix typo introduced in https://github.com/saltstack/salt/pull/14812
This commit is contained in:
parent
1071ec0859
commit
f649f08ee5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user