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-09-19 15:34:06 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-09-19 15:34:06 +0300
commitc0f9c0ab848f21cd66e7097acc3069afba4f17d1 (patch)
treec2623310d2c68d0b28447a7f479ba4b78580f7d2 /include/tests_nameservices
parentf389cc5d9916a989f0675c2cdd58943fe2592360 (diff)
Style and log improvements
Diffstat (limited to 'include/tests_nameservices')
-rw-r--r--include/tests_nameservices2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_nameservices b/include/tests_nameservices
index bae149d4..56deb7ac 100644
--- a/include/tests_nameservices
+++ b/include/tests_nameservices
@@ -618,7 +618,7 @@
DATA=$(${EGREPBINARY} -v '^(#|$)' ${ROOTDIR}etc/hosts | ${EGREPBINARY} '^(localhost|::1)\s' | ${GREPBINARY} -w ${HOSTNAME})
if [ -n "${DATA}" ]; then
LogText "Result: Found this server hostname mapped to a local address"
- LogText "Output: ${sFIND}"
+ LogText "Output: ${DATA}"
Display --indent 4 --text "- Hostname mapped to localhost" --result "${STATUS_FOUND}" --color YELLOW
LogText "Information: Linking the hostname to the localhost entry may break some resolving. Split resolving so that localhost resolves back to 127.0.0.1 (and ::1) and the hostname of the machine to the real IP address on the network interface."
ReportSuggestion ${TEST_NO} "Split resolving between localhost and the hostname of the system"