fixed inverted logic
All checks were successful
Docker Build and Push / build (push) Successful in 3m11s

This commit is contained in:
Jeremy McClure 2025-04-11 16:02:19 -04:00
parent ec9c48ac68
commit 744bd61ee6
Signed by: jeremy
GPG Key ID: CA27BD8443157067

View File

@ -151,7 +151,7 @@ serverSelect() {
# Build out java command # Build out java command
buildCommand() { buildCommand() {
JAVA_ARGS="-Xms${MEM} -Xmx${MEM}" JAVA_ARGS="-Xms${MEM} -Xmx${MEM}"
if [[ -z ${ADD_ARGS+x} ]]; then if [[ ! -z ${ADD_ARGS+x} ]]; then
RUN_STRING="${ADD_ARGS} ${JAVA_ARGS} -jar ${JAR} nogui" RUN_STRING="${ADD_ARGS} ${JAVA_ARGS} -jar ${JAR} nogui"
else else
RUN_STRING="${JAVA_ARGS} -jar ${JAR} nogui" RUN_STRING="${JAVA_ARGS} -jar ${JAR} nogui"