mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 12:12:48 +00:00
trivial: Fix the comparison function in fu_plugin_get_config_value_boolean()
This commit is contained in:
parent
dbdafa303e
commit
5337a43802
@ -2544,7 +2544,7 @@ fu_plugin_get_config_value_boolean (FuPlugin *self, const gchar *key)
|
||||
g_autofree gchar *tmp = fu_plugin_get_config_value (self, key);
|
||||
if (tmp == NULL)
|
||||
return FALSE;
|
||||
return g_ascii_strcasecmp (tmp, "true");
|
||||
return g_ascii_strcasecmp (tmp, "true") == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user