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