Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-07-12 14:12:59 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-12 14:12:59 +0300
commitb9a13893b9f1c9e61b5633763fd93e31f3a7bf66 (patch)
treebfd87f48f3b4e424f5dd72bd9f0b42c902b34da1 /include/tests_nameservices
parent0f80fa07aa3ef9f412a3d72cda433839fe8238df (diff)
[NAME-4408] corrected Report function call
Diffstat (limited to 'include/tests_nameservices')
-rw-r--r--include/tests_nameservices6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tests_nameservices b/include/tests_nameservices
index 19189898..2ae503e3 100644
--- a/include/tests_nameservices
+++ b/include/tests_nameservices
@@ -644,15 +644,15 @@
if [ "${FIND}" = "127.0.0.1" ]; then
LogText "Result: localhost mapped to 127.0.0.1"
Display --indent 4 --text "- Checking /etc/hosts (localhost to IP)" --result "${STATUS_OK}" --color GREEN
- report "localhost-mapped-to=${FIND}"
+ Report "localhost-mapped-to=${FIND}"
elif [ "${FIND}" = "::1" ]; then
LogText "Result: localhost mapped to ::1"
Display --indent 4 --text "- Checking /etc/hosts (localhost to IP)" --result "${STATUS_OK}" --color GREEN
- report "localhost-mapped-to=${FIND}"
+ Report "localhost-mapped-to=${FIND}"
elif [ "${FIND}" = "127.0.0.1::1" ]; then
LogText "Result: localhost mapped to 127.0.0.1 and ::1"
Display --indent 4 --text "- Checking /etc/hosts (localhost to IP)" --result "${STATUS_OK}" --color GREEN
- report "localhost-mapped-to=${FIND}"
+ Report "localhost-mapped-to=${FIND}"
else
LogText "Output: ${FIND}"
LogText "Result: this server hostname is not mapped to a local address"