From 74f6879ed0a9152699e8ef30a6af5f2d4a4a4cdd Mon Sep 17 00:00:00 2001 From: Thomas Anderson Date: Mon, 25 Sep 2023 20:12:29 -0400 Subject: fix: use double brackets instead of test Co-authored-by: Bastien Wirtz --- ipv6.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3