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:
authorMark Garrett <4889522+gcsgithub@users.noreply.github.com>2021-01-03 10:33:58 +0300
committerGitHub <noreply@github.com>2021-01-03 10:33:58 +0300
commit0003460eff7ff93615fe0b1b27ee5b133e38d4a6 (patch)
treedab8525d5ef3211ea30de18c89249c6283faa54a
parent2bc950303280b9297a128f32c3adbfa7b87bc59e (diff)
parentc8175cf74da87d44328cca2d30d0df2ae2eb9a24 (diff)
Merge pull request #5 from gcsgithub/soedev
Syntax fix was only valid in ksh93+
-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"