Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Monitoring
FeM Nagios Plugins
Commits
29b4d50e
Commit
29b4d50e
authored
Aug 28, 2021
by
NexAdn
Browse files
check_gentoo_portage: Fix missing comma leading to invalid timestamp file path
Signed-off-by:
NexAdn
<
git@nexadn.de
>
parent
f7b5e543
Changes
1
Hide whitespace changes
Inline
Side-by-side
check_gentoo_portage
View file @
29b4d50e
...
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment