summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7061cee20..f602e0c0a 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