return all cmd info back to zypper fcn

Fixes #25320.
This commit is contained in:
Justin Findlay 2015-07-10 13:58:19 -06:00
parent b0196fccb7
commit c1e633903e

View file

@ -62,7 +62,7 @@ def list_upgrades(refresh=True):
if salt.utils.is_true(refresh):
refresh_db()
ret = {}
call = __salt__['cmd.run_stdout'](
call = __salt__['cmd.run_all'](
'zypper list-updates', output_loglevel='trace'
)
if call['retcode'] != 0: