diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index 24ce327c5..39e7dba02 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -699,6 +699,10 @@ def _exec_task(fn, task, d, quieterr): event.fire(TaskFailedSilent(task, fn, logfn, localdata), localdata) else: errprinted = errchk.triggered + # If the output is already on stdout, we've printed the information in the + # logs once already so don't duplicate + if verboseStdoutLogging: + errprinted = True logger.error(str(exc)) event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata) return 1 |