mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
binman: Output errors to stderr
At present binman outputs errors to stdout which means that fails are effectively silent when printed by buildman, for example. Fix this by outputing errors to stderr. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
2a9c14526e
commit
de43855091
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def RunBinman(args):
|
|||
try:
|
||||
ret_code = control.Binman(args)
|
||||
except Exception as e:
|
||||
print('binman: %s' % e)
|
||||
print('binman: %s' % e, file=sys.stderr)
|
||||
if args.debug:
|
||||
print()
|
||||
traceback.print_exc()
|
||||
|
|
Loading…
Reference in a new issue