summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 7061cee20d..f602e0c0ab 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -49,7 +49,7 @@ class FuncFailed(Exception):
def __str__(self):
msg = "Function '%s' failed" % self.name
- if self.logfile:
+ if self.logfile and os.path.exists(self.logfile):
msg += " (see %s for further information)" % self.logfile
return msg