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

fix for changed output in list-security query

This commit is contained in:
Pall Valmundsson 2013-03-12 21:37:00 +00:00
parent 565cfa5e1a
commit 07d3717a29

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