mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 14:22:23 +00:00
trivial: fix a logic error in obsolete calculation
This commit is contained in:
parent
3006d238d6
commit
65e3bc57c5
@ -377,7 +377,7 @@ fu_security_attrs_depsolve(FuSecurityAttrs *self)
|
||||
const gchar *obsolete = g_ptr_array_index(obsoletes, k);
|
||||
|
||||
if (g_strcmp0(attr_tmp_id, obsolete) == 0 ||
|
||||
g_strcmp0(attr_tmp_plugin, obsolete) != 0) {
|
||||
g_strcmp0(attr_tmp_plugin, obsolete) == 0) {
|
||||
g_debug("security attr %s:%s obsoleted by %s:%s",
|
||||
attr_tmp_id,
|
||||
attr_tmp_plugin,
|
||||
|
Loading…
Reference in New Issue
Block a user