From 8e0bb37cccc4a1795e96cdd01a132ea451368cf2 Mon Sep 17 00:00:00 2001 From: Hannes Fuchs Date: Wed, 28 Sep 2022 22:37:33 +0200 Subject: [PATCH] Remove duplicate extra arguiments `$@` is provided twice. When adding extra command arguments to the container, the container fails to start b/c of duplicates. --- vanilla/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanilla/bootstrap.sh b/vanilla/bootstrap.sh index ea0068c..d4bbd40 100755 --- a/vanilla/bootstrap.sh +++ b/vanilla/bootstrap.sh @@ -23,7 +23,7 @@ else echo "Environment WORLD_FILENAME specified" if [ -f "$WORLD_PATH" ]; then echo "Loading to world $WORLD_FILENAME..." - mono TerrariaServer.exe -config "$CONFIGPATH/$CONFIG_FILENAME" -logpath "$LOGPATH" "$@" -world "$WORLD_PATH" "$@" + mono TerrariaServer.exe -config "$CONFIGPATH/$CONFIG_FILENAME" -logpath "$LOGPATH" -world "$WORLD_PATH" "$@" else echo "Unable to locate $WORLD_PATH." echo "Please make sure your world file is volumed into docker: -v :$WORLDPATH"