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:
parent
53ec813478
commit
f3909a08f6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user