mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Bugfix: sometimes error goes to the STDOUT instead of STDERR in the RPM
This commit is contained in:
parent
350340dafa
commit
eaa6af9898
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ def info(*packages):
|
|||
if call['retcode'] != 0:
|
||||
comment = ''
|
||||
if 'stderr' in call:
|
||||
comment += call['stderr']
|
||||
comment += (call['stderr'] or call['stdout'])
|
||||
raise CommandExecutionError('{0}'.format(comment))
|
||||
else:
|
||||
out = call['stdout']
|
||||
|
|
Loading…
Add table
Reference in a new issue