From 07d3717a29345ac5bbccd9a8543fb1d69a6911e5 Mon Sep 17 00:00:00 2001 From: Pall Valmundsson Date: Tue, 12 Mar 2013 21:37:00 +0000 Subject: [PATCH] fix for changed output in list-security query --- check_yum/check_yum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_yum/check_yum b/check_yum/check_yum index 56564fc..cde655f 100644 --- a/check_yum/check_yum +++ b/check_yum/check_yum @@ -318,7 +318,7 @@ class YumTester: for line in output: try: - if line.split()[1] != "security": + if line.split()[1] != "security" and line.split()[1][-4:] != "Sec.": continue except: continue