err=0
log() {
- if [ "$0" == "ok" ] && [ "$err" == 0 ]; then
+ if [ "$0" = "ok" ] && [ "$err" = 0 ]; then
err=0
- elif [ "$1" == "warn" ] && [ "$err" -lt 1 ]; then
+ elif [ "$1" = "warn" ] && [ "$err" -lt 1 ]; then
err=1
- elif [ "$1" == "critical" ] && [ "$err" -lt 2 ]; then
+ elif [ "$1" = "critical" ] && [ "$err" -lt 2 ]; then
err=2
- elif [ "$1" == "unknown" ] && [ "$err" == 0 ]; then
+ elif [ "$1" = "unknown" ] && [ "$err" = 0 ]; then
err=3
fi
if [ "`eval echo \\$$1`" = "" ]; then
* dsa-check-backuppg:
- ignore regular files in pg backup's root directory if they are still
fresh.
+ * dsa-check-config:
+ - fix a bashism.
[ Stephen Gran ]
* Add event_handler to restart services
* Add dsa-check-raid-megactl for awkward PeRC controllers
- -- Stephen Gran <sgran@debian.org> Sat, 30 Jul 2011 13:30:07 +0100
+ -- Peter Palfrader <weasel@debian.org> Mon, 10 Oct 2011 23:33:36 +0200
dsa-nagios-checks (89) unstable; urgency=low