1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-25 03:43:46 +01:00

Merge pull request #5 from pallvalmundsson/check_yum_security_patch

fix for changed output in list-security query
This commit is contained in:
palli 2013-03-13 07:37:57 -07:00
commit 6d3ee7cdc7

View File

@ -318,7 +318,7 @@ class YumTester:
for line in output: for line in output:
try: try:
if line.split()[1] != "security": if line.split()[1] != "security" and line.split()[1][-4:] != "Sec.":
continue continue
except: except:
continue continue