fix(minifirewall): Properly detect old minifirewall versions
This commit is contained in:
parent
cb3afb8713
commit
23099e40cb
|
@ -23,6 +23,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* webapps/nextcloud: Set ownership and permissions of data directory
|
* webapps/nextcloud: Set ownership and permissions of data directory
|
||||||
* webapps/nextcloud: Add condition for config tasks
|
* webapps/nextcloud: Add condition for config tasks
|
||||||
* remount-usr: do not try to remount /usr RW if /usr is not a mounted partition
|
* remount-usr: do not try to remount /usr RW if /usr is not a mounted partition
|
||||||
|
* minifirewall: Fix nagios check for old versions of minifirewall
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ main() {
|
||||||
append_details "configuration is up-to-date"
|
append_details "configuration is up-to-date"
|
||||||
summary_ok "minifirewall is started and configuration is up-to-date"
|
summary_ok "minifirewall is started and configuration is up-to-date"
|
||||||
else
|
else
|
||||||
if echo "${check_result}" | grep --quiet --regexp 'usage'; then
|
if echo "${check_result}" | grep --ignore-case --quiet --regexp 'usage'; then
|
||||||
append_details "minifirewall is too old to check active configuration"
|
append_details "minifirewall is too old to check active configuration"
|
||||||
else
|
else
|
||||||
case "${check_rc}" in
|
case "${check_rc}" in
|
||||||
|
|
Loading…
Reference in a new issue