diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-10 03:39:26 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-20 20:37:47 +0300 |
commit | de438550913b67765b71172e10e130452bc7f61f (patch) | |
tree | d5d5adb25c04a59de4569f72c6471576b0933ec7 /tools/binman | |
parent | 2a9c14526e9367c878d43536bfdbe4b23a23e870 (diff) | |
download | u-boot-de438550913b67765b71172e10e130452bc7f61f.tar.xz |
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/binman')
-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 efa7fa8386..0ab2bb6206 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() |