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.
This commit is contained in:
1 parent
b94a5a4663
commit
a2d0a4e68e
1 file changed
+2
-2
@@ -128,8 +128,8 @@ if [ -n "${PERIPHERAL_VOLUME_STEP}" ]; then
|
|||||||
EXTRA_ARGS+=( "--peripheral-volume-step" "$PERIPHERAL_VOLUME_STEP" )
|
EXTRA_ARGS+=( "--peripheral-volume-step" "$PERIPHERAL_VOLUME_STEP" )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$DISABLE_PERIPHERAL_API" = "1" ]; then
|
if [ "$DISABLE_PERIPHERAL_API" = "1" ]; then
|
||||||
EXTRA_ARGS+=( "--disable-peripheral-api" "$DISABLE_PERIPHERAL_API" )
|
EXTRA_ARGS+=( "--disable-peripheral-api" )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ENABLE_OUTPUT_ONLY" = "1" ]; then
|
if [ "$ENABLE_OUTPUT_ONLY" = "1" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user