From 70e18d99b8e3e77bb37e218d7ac582130156f8ef Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 25 Jan 2024 09:46:18 +0100 Subject: New upstream version 1.45.90 --- src/core/settings/nm-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/settings/nm-settings.c') diff --git a/src/core/settings/nm-settings.c b/src/core/settings/nm-settings.c index 8796de36..7fc20298 100644 --- a/src/core/settings/nm-settings.c +++ b/src/core/settings/nm-settings.c @@ -3530,7 +3530,7 @@ load_plugins(NMSettings *self, const char *const *plugins, GError **error) continue; } - if (nm_strv_find_first(plugins, iter - plugins, pname) >= 0) { + if (nm_strv_contains(plugins, iter - plugins, pname)) { /* the plugin is already mentioned in the list previously. * Don't load a duplicate. */ continue; -- cgit 1.3.0-6-gf8a5