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:05:15 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-09-19 15:05:15 +0300
commit36627a4eb7fb0d505c6df7897083d161e59cdf34 (patch)
tree5efa5a2f34c6683635259a97ebbbfd3ec1739629 /include/tests_webservers
parent950be03ddbc150d3b61b5ea620833a1991f32b3c (diff)
Style improvements
Diffstat (limited to 'include/tests_webservers')
-rw-r--r--include/tests_webservers4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_webservers b/include/tests_webservers
index 1e893f26..01bb3f93 100644
--- a/include/tests_webservers
+++ b/include/tests_webservers
@@ -157,7 +157,7 @@
done
# Search Server aliases
for J in $(${GREPBINARY} "ServerAlias" ${I} | ${GREPBINARY} -v "^#" | ${SEDBINARY} "s/\s*ServerAlias //g" | ${SEDBINARY} "s/#.*//g"); do
- if [ -n ${J} ]; then
+ if [ -n "${J}" ]; then
tVHOSTS="${tVHOSTS} ${J}"
cVHOSTS=$((cVHOSTS + 1))
fi
@@ -170,7 +170,7 @@
# Log all virtual hosts we found
for J in ${tVHOSTS}; do
- if [ -n ${J} ]; then
+ if [ -n "${J}" ]; then
LogText "Virtual host: ${J}"
#Report "apache_vhost_name[]=${J}"
fi