From a2d0a4e68ec9c723780d067c1d6df0973833025b Mon Sep 17 00:00:00 2001 From: Florian Asche Date: Sun, 2 Aug 2026 22:58:16 +0200 Subject: [PATCH] fix(docker): correct conditional check for DISABLE_PERIPHERAL_API Fix the syntax error in the shell script where the comparison was incorrectly structured, and remove the redundant passing of the variable value to the flag. --- docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index a3cad32..319574e 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -128,8 +128,8 @@ if [ -n "${PERIPHERAL_VOLUME_STEP}" ]; then EXTRA_ARGS+=( "--peripheral-volume-step" "$PERIPHERAL_VOLUME_STEP" ) fi -if [ -n "$DISABLE_PERIPHERAL_API" = "1" ]; then - EXTRA_ARGS+=( "--disable-peripheral-api" "$DISABLE_PERIPHERAL_API" ) +if [ "$DISABLE_PERIPHERAL_API" = "1" ]; then + EXTRA_ARGS+=( "--disable-peripheral-api" ) fi if [ "$ENABLE_OUTPUT_ONLY" = "1" ]; then