mirror of https://github.com/CISOfy/lynis.git
Initialize variables and style improvements
This commit is contained in:
parent
4faaa10a8c
commit
95b24f074f
|
@ -28,7 +28,7 @@
|
|||
#
|
||||
BIND_RUNNING=0
|
||||
BIND_CONFIG_LOCS="/etc /etc/bind /usr/local/etc /usr/local/etc/namedb"
|
||||
BIND_CONFIG_LOCATIONS=""
|
||||
BIND_CONFIG_LOCATION=""
|
||||
POWERDNS_RUNNING=0
|
||||
POWERDNS_CONFIG_LOCS="/etc/powerdns /usr/local/etc"
|
||||
POWERDNS_AUTH_CONFIG_LOCATION=""
|
||||
|
@ -319,7 +319,7 @@
|
|||
LogText "Result: found configuration file (${BIND_CONFIG_LOCATION})"
|
||||
fi
|
||||
done
|
||||
if [ ! "${BIND_CONFIG_LOCATION}" = "" ]; then
|
||||
if [ ! -z "${BIND_CONFIG_LOCATION}" ]; then
|
||||
Display --indent 4 --text "- Checking BIND configuration file" --result "${STATUS_FOUND}" --color GREEN
|
||||
else
|
||||
Display --indent 4 --text "- Checking BIND configuration file" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||
|
|
Loading…
Reference in New Issue