diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 7e8feb1cd5..6c27190783 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -1535,7 +1535,7 @@ fixup_desc_string (const char *desc) if (nm_utils_strv_find_first ((char **) IGNORED_WORDS, G_N_ELEMENTS (IGNORED_WORDS), - p) < 0) + p) >= 0) goto next; l = strlen (p);