Commit 29b4d50e authored by NexAdn's avatar NexAdn
Browse files

check_gentoo_portage: Fix missing comma leading to invalid timestamp file path


Signed-off-by: default avatarNexAdn <git@nexadn.de>
parent f7b5e543
......@@ -30,7 +30,7 @@ from optparse import OptionParser
__author__ = "Hari Sekhon, Jennifer Graul"
__title__ = "Nagios Plugin for Gentoo Portage"
__version__ = "1.0.0"
__version__ = "1.0.1"
# Standard Nagios return codes
OK = 0
......@@ -48,7 +48,7 @@ EMERGE = "/usr/bin/emerge"
# determining the last synced time, as emerge --info doesn't give this
# in the older versions
TIMESTAMP_LOCATIONS = (
"/var/db/repos/gentoo/metadata/timestamp.chk"
"/var/db/repos/gentoo/metadata/timestamp.chk",
"/usr/portage/metadata/timestamp.chk",
"/var/cache/edb/dep/timestamp.chk"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment