fix: use double brackets instead of test

Co-authored-by: Bastien Wirtz <bastien.wirtz@gmail.com>
This commit is contained in:
Thomas Anderson 2023-09-25 20:12:29 -04:00 committed by Bastien Wirtz
parent ce2d3e945a
commit 74f6879ed0

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Enable IPV6 if needed
if test -z "$IPV6_DISABLE"; then
if [[ "${IPV6_DISABLE}" == "1" ]]; then
echo '$SERVER["socket"] == "[::]:" + env.PORT { }'
fi