Skip to content

Commit e41790a

Browse files
committed
LOG-12569 Put rsyslog version arguments into quotes
1 parent 119cf1a commit e41790a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Linux Script/configure-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ checkIfMinVersionOfRsyslog() {
462462
RSYSLOG_VERSION=${RSYSLOG_VERSION#* }
463463
RSYSLOG_VERSION=${RSYSLOG_VERSION%,*}
464464
RSYSLOG_VERSION=$RSYSLOG_VERSION | tr -d " "
465-
if [ $(compareVersions $RSYSLOG_VERSION $MIN_RSYSLOG_VERSION 3) -lt 0 ]; then
465+
if [ $(compareVersions "$RSYSLOG_VERSION" "$MIN_RSYSLOG_VERSION" 3) -lt 0 ]; then
466466
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."
467467
exit 1
468468
fi

0 commit comments

Comments
 (0)