knotty: stop freaking out and dying when bb.build has removed the empty logfile

(Bitbake rev: 2197182fe5837d74f1499c644e882e87cf035238)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Chris Larson 2010-06-10 10:44:20 -07:00 committed by Richard Purdie
parent e886ec2a2b
commit dabe4a3943
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def init(server, eventHandler):
if isinstance(event, bb.build.TaskFailed):
return_value = 1
logfile = event.logfile
if logfile:
if logfile and os.path.exists(logfile):
print("ERROR: Logfile of failure stored in: %s" % logfile)
if 1 or includelogs:
print("Log data follows:")