From e41790a889d19d6436e176f82e66ef6218caa841 Mon Sep 17 00:00:00 2001 From: Jiri Kruml Date: Fri, 13 Aug 2021 13:26:17 +0200 Subject: [PATCH] LOG-12569 Put rsyslog version arguments into quotes --- Linux Script/configure-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux Script/configure-linux.sh b/Linux Script/configure-linux.sh index 2928482..fa8dffd 100644 --- a/Linux Script/configure-linux.sh +++ b/Linux Script/configure-linux.sh @@ -462,7 +462,7 @@ checkIfMinVersionOfRsyslog() { RSYSLOG_VERSION=${RSYSLOG_VERSION#* } RSYSLOG_VERSION=${RSYSLOG_VERSION%,*} RSYSLOG_VERSION=$RSYSLOG_VERSION | tr -d " " - if [ $(compareVersions $RSYSLOG_VERSION $MIN_RSYSLOG_VERSION 3) -lt 0 ]; then + if [ $(compareVersions "$RSYSLOG_VERSION" "$MIN_RSYSLOG_VERSION" 3) -lt 0 ]; then logMsgToConfigSysLog "ERROR" "ERROR: Minimum rsyslog version required to run this script is 5.8.0. Please upgrade your rsyslog version or follow the manual instructions." exit 1 fi