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:
authorLaurent Quillerou <laurent.quillerou@gmail.com>2015-09-07 18:35:07 +0300
committerLaurent Quillerou <laurent.quillerou@gmail.com>2015-09-07 18:35:07 +0300
commit3cdd9ea949379a8ad06daa06e739d1e65e4a52bc (patch)
tree50e15f4295d2df22c014f2c81b90e8b15c705a14 /include/tests_nameservices
parenta90d225bf4ea02e8483810f60efb51ae5ef18c1a (diff)
Delete trailing whitespace
Diffstat (limited to 'include/tests_nameservices')
-rw-r--r--include/tests_nameservices4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_nameservices b/include/tests_nameservices
index 5e59f53f..5131364b 100644
--- a/include/tests_nameservices
+++ b/include/tests_nameservices
@@ -94,7 +94,7 @@
# Check amount of search domains (max 1)
FIND=`cat /etc/resolv.conf | grep "^search" | wc -l | tr -s ' ' | tr -d ' '`
if [ ! "${FIND}" = "0" -a ! "${FIND}" = "1" ]; then
- logtext "Result: found ${FIND} line(s) with a search statement (expecting less than 2 lines)"
+ logtext "Result: found ${FIND} line(s) with a search statement (expecting less than 2 lines)"
Display --indent 4 --text "- Checking search domains lines" --result "CONFIG ERROR" --color YELLOW
ReportWarning ${TEST_NO} "L" "Found more than 1 search lines in /etc/resolv.conf, which is probably a misconfiguration"
else
@@ -566,7 +566,7 @@
fi
fi
# Check if we found any NIS domain
- if [ ! "${NISDOMAIN}" = "" ]; then
+ if [ ! "${NISDOMAIN}" = "" ]; then
logtext "Found NIS domain: ${NISDOMAIN}"
report "nisdomain=${NISDOMAIN}"
Display --indent 4 --text "- Checking NIS domain" --result "FOUND" --color GREEN