diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-09 18:39:26 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-24 19:25:15 -0600 |
commit | 6c8e0bfe6e379408bcc80224f74ba47e5f82505e (patch) | |
tree | ff4f97c984e4c893aeeb0d1b49c8fad2872a8a91 /tools | |
parent | 0d5addaf202b106494ec643fab7e6a45a24773aa (diff) | |
download | u-boot-6c8e0bfe6e379408bcc80224f74ba47e5f82505e.tar.gz |
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>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/binman/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/main.py b/tools/binman/main.py index efa7fa8386f..0ab2bb62065 100755 --- a/tools/binman/main.py +++ b/tools/binman/main.py @@ -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() |