diff options
-rw-r--r-- | bitbake/lib/bb/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 6c7b891930..f1abaf70d2 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -117,7 +117,7 @@ class Command: | |||
117 | return False | 117 | return False |
118 | 118 | ||
119 | def finishAsyncCommand(self, msg=None, code=None): | 119 | def finishAsyncCommand(self, msg=None, code=None): |
120 | if msg: | 120 | if msg or msg == "": |
121 | bb.event.fire(CommandFailed(msg), self.cooker.event_data) | 121 | bb.event.fire(CommandFailed(msg), self.cooker.event_data) |
122 | elif code: | 122 | elif code: |
123 | bb.event.fire(CommandExit(code), self.cooker.event_data) | 123 | bb.event.fire(CommandExit(code), self.cooker.event_data) |