diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 828e9d235a..1bc9ee67c8 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -94,7 +94,7 @@ def init(server, eventHandler): | |||
94 | if isinstance(event, bb.build.TaskFailed): | 94 | if isinstance(event, bb.build.TaskFailed): |
95 | return_value = 1 | 95 | return_value = 1 |
96 | logfile = event.logfile | 96 | logfile = event.logfile |
97 | if logfile: | 97 | if logfile and os.path.exists(logfile): |
98 | print("ERROR: Logfile of failure stored in: %s" % logfile) | 98 | print("ERROR: Logfile of failure stored in: %s" % logfile) |
99 | if 1 or includelogs: | 99 | if 1 or includelogs: |
100 | print("Log data follows:") | 100 | print("Log data follows:") |