From f21e8f4857191fa22a17113c01c08a6a2b71c5aa Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Thu, 4 Jul 2019 23:23:37 -0700 Subject: Also consider "vulnerable" when looking at CPU vulnerabilities --- modules/computer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/computer.c b/modules/computer.c index f8adfc38..3e13ff10 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -618,7 +618,8 @@ gchar *callback_security(void) continue; struct InfoField field = info_field(vuln, idle_free(contents)); - if (g_strstr_len(contents, -1, "Vulnerable")) + if (g_strstr_len(contents, -1, "Vulnerable") || + g_strstr_len(contents, -1, "vulnerable")) field = info_field_with_icon(field, "dialog-warning.png"); info_group_add_fields(vulns, field, info_field_last()); -- cgit v1.2.3