From: Thomas Anderson Date: Tue, 26 Sep 2023 00:12:29 +0000 (-0400) Subject: fix: use double brackets instead of test X-Git-Tag: v23.10.1~6 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=74f6879ed0a9152699e8ef30a6af5f2d4a4a4cdd;p=github%2Fbastienwirtz%2Fhomer.git fix: use double brackets instead of test Co-authored-by: Bastien Wirtz --- diff --git a/ipv6.sh b/ipv6.sh index c013ed6..00b0dda 100755 --- a/ipv6.sh +++ b/ipv6.sh @@ -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