summaryrefslogtreecommitdiffstats
path: root/common/bbu.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bbu.c')
-rw-r--r--common/bbu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bbu.c b/common/bbu.c
index 11e44f4a7d..9e206227a7 100644
--- a/common/bbu.c
+++ b/common/bbu.c
@@ -151,7 +151,7 @@ bool barebox_update_handler_exists(struct bbu_data *data)
if (!data->handler_name)
return false;
- return !bbu_find_handler(data->handler_name);
+ return bbu_find_handler(data->handler_name) != NULL;
}
static int bbu_check_of_compat(struct bbu_data *data)