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

check_package_updates - fix inconsistent tab/space

This commit is contained in:
Pall Sigurdsson 2013-09-13 11:43:04 +00:00
parent 53ec813478
commit f3909a08f6

View File

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