aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/toasterui.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/ui/toasterui.py')
-rw-r--r--lib/bb/ui/toasterui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/toasterui.py b/lib/bb/ui/toasterui.py
index 51892c9a0..9260f5d9d 100644
--- a/lib/bb/ui/toasterui.py
+++ b/lib/bb/ui/toasterui.py
@@ -176,7 +176,7 @@ def main(server, eventHandler, params):
if error:
logger.error("Command '%s' failed: %s" % (cmdline, error))
return 1
- elif ret != True:
+ elif not ret:
logger.error("Command '%s' failed: returned %s" % (cmdline, ret))
return 1