From 8c4669b5eebe3f96bab3b5acbc5dbffdcfeba59c Mon Sep 17 00:00:00 2001 From: felixdv <26912+felixdv@users.noreply.github.com> Date: Thu, 24 Nov 2022 19:32:08 +0100 Subject: [PATCH] Fix assignment issue in the init script In a number of places, the wrong operator was used for setting server arguments (`+` instead of `=`). --- init.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/init.sh b/init.sh index 528f4b8..d9c229b 100755 --- a/init.sh +++ b/init.sh @@ -93,39 +93,39 @@ if [ ${DISABLE_MENU_METADATA} ]; then fi if [ ${DISABLE_CONTENT_DETECTION} ]; then - SERVER_ARGS+"${SERVER_ARGS} -nc" + SERVER_ARGS="${SERVER_ARGS} -nc" fi if [ ${DISABLE_CHARSET_CONV} ]; then - SERVER_ARGS+"${SERVER_ARGS} -no" + SERVER_ARGS="${SERVER_ARGS} -no" fi if [ ${DISABLE_QUERY_STRINGS} ]; then - SERVER_ARGS+"${SERVER_ARGS} -nq" + SERVER_ARGS="${SERVER_ARGS} -nq" fi if [ ${DISABLE_SYSLOG} ]; then - SERVER_ARGS+"${SERVER_ARGS} -ns" + SERVER_ARGS="${SERVER_ARGS} -ns" fi if [ ${DISABLE_AUTOGEN_CAPS} ]; then - SERVER_ARGS+"${SERVER_ARGS} -na" + SERVER_ARGS="${SERVER_ARGS} -na" fi if [ ${DISABLE_SERVER_STATUS} ]; then - SERVER_ARGS+"${SERVER_ARGS} -nt" + SERVER_ARGS="${SERVER_ARGS} -nt" fi if [ ${DISABLE_HAPROXY} ]; then - SERVER_ARGS+"${SERVER_ARGS} -np" + SERVER_ARGS="${SERVER_ARGS} -np" fi if [ ${DISABLE_EXECUTABLES} ]; then - SERVER_ARGS+"${SERVER_ARGS} -nx" + SERVER_ARGS="${SERVER_ARGS} -nx" fi if [ ${DISABLE_USERDIRS} ]; then - SERVER_ARGS+"${SERVER_ARGS} -nu" + SERVER_ARGS="${SERVER_ARGS} -nu" fi # Write out our gophernicus xinetd configuration with all our server arguments