1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 02:13:44 +01:00

Fix failure on a fully patched system

This commit is contained in:
Tomas Edwardsson 2013-07-16 22:09:23 +00:00
parent 7ad46b2f68
commit 5af347c3df

View File

@ -75,6 +75,8 @@ def pkcon_get_updates():
for line in stdout.split("\n"):
if not line:
continue
if line.startswith("There are no updates"):
continue
if results_section is False and line == "Results:":
results_section = True
elif results_section: