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>2021-01-06 15:59:42 +0300
committerGitHub <noreply@github.com>2021-01-06 15:59:42 +0300
commita5a0bc0434f189cb4a9d042d2a60d5ddd2349217 (patch)
treeae699e90100883c32e42a9ef69b452776d179761
parent075d92e275b1984328b95ea8e5b4b1958cf5befd (diff)
parent0003460eff7ff93615fe0b1b27ee5b133e38d4a6 (diff)
Merge pull request #1099 from gcsgithub/master
fix syntax must include ${}
-rw-r--r--include/tests_logging2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_logging b/include/tests_logging
index acbbcf5b..8e807738 100644
--- a/include/tests_logging
+++ b/include/tests_logging
@@ -427,7 +427,7 @@
FIND=$(${EGREPBINARY} "@[a-zA-Z0-9]|destination\s.+(udp|tcp).+\sport" ${SYSLOGD_CONF} | ${GREPBINARY} -v "^#" | ${GREPBINARY} -v "[a-zA-Z0-9]@")
if [ -n "${FIND}" ]; then
FIND2=$(echo "${FIND}" | ${GREPBINARY} -v "@loghost")
- if [ SOLARIS_LOGHOST_LOCALHOST -eq 1 ] && [ -z "${FIND2}" ]; then
+ if [ ${SOLARIS_LOGHOST_LOCALHOST} -eq 1 ] && [ -z "${FIND2}" ]; then
LogText "Result: remote logging enabled to loghost, but loghost is localhost"
else
LogText "Result: remote logging enabled"