mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-12-22 09:03:54 +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"):
|
||||
if not line:
|
||||
continue
|
||||
if line.startswith("There are no updates"):
|
||||
if line.startswith("There are no updates"):
|
||||
continue
|
||||
if results_section is False and line == "Results:":
|
||||
results_section = True
|
||||
|
Loading…
Reference in New Issue
Block a user