Merge branch 'fordsa' of https://git.adam-barratt.org.uk/git/mirror/dsa-nagios
authorJulien Cristau <jcristau@debian.org>
Fri, 25 Oct 2019 20:03:09 +0000 (22:03 +0200)
committerJulien Cristau <jcristau@debian.org>
Fri, 25 Oct 2019 20:03:09 +0000 (22:03 +0200)
dsa-nagios-checks/checks/dsa-check-config
dsa-nagios-checks/debian/changelog

index 2772994..7ce992e 100755 (executable)
@@ -9,7 +9,7 @@ set -e
 err=0
 
 log() {
-       if [ "$0" = "ok" ] && [ "$err" = 0 ]; then
+       if [ "$1" = "ok" ] && [ "$err" = 0 ]; then
                err=0
        elif [ "$1" = "warn" ] && [ "$err" -lt 1 ]; then
                err=1
index 1931f57..8426b4c 100644 (file)
@@ -6,7 +6,8 @@ dsa-nagios-checks (119) UNRELEASED; urgency=medium
 
   [ Adam D. Barratt ]
   * dsa-check-soas: fix variable scoping
-  * Add check_clamav_signatures.
+  * Add dsa-check-clamav-signatures.
+  * dsa-check-config: fix typo in log check for "OK" statuses.
 
   [ Julien Cristau ]
   * port dsa-check-statusfile and dsa-check-memory to python3