mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
commit
72347cdc7e
@ -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