diff options
author | Mark Garrett <mark@nsmail00.syd.garetech.com.au> | 2021-01-03 10:29:17 +0300 |
---|---|---|
committer | Mark Garrett <mark@nsmail00.syd.garetech.com.au> | 2021-01-03 10:29:17 +0300 |
commit | c8175cf74da87d44328cca2d30d0df2ae2eb9a24 (patch) | |
tree | dab8525d5ef3211ea30de18c89249c6283faa54a /include/tests_logging | |
parent | 9a6d9cfc2c2e5e82f04e34275a6019c08ae05869 (diff) |
Syntax fix was only valid in ksh93+
Diffstat (limited to 'include/tests_logging')
-rw-r--r-- | include/tests_logging | 2 |
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" |