]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
fix: reverse IPV6_DISABLE logic
authorThomas Anderson <tnyeanderson@users.noreply.github.com>
Wed, 27 Sep 2023 05:56:24 +0000 (01:56 -0400)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Sat, 21 Oct 2023 12:16:20 +0000 (05:16 -0700)
Co-authored-by: Bastien Wirtz <bastien.wirtz@gmail.com>
lighttpd-ipv6.sh

index 00b0ddadf3fb613cf5efd6d6942a5b782cf32a75..40c485a2a0c99a236d6df65ae5573d67c76f9b38 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 # Enable IPV6 if needed
-if [[ "${IPV6_DISABLE}" == "1" ]]; then
+if [[ "${IPV6_DISABLE}" != "1" ]]; then
        echo '$SERVER["socket"] == "[::]:" + env.PORT {  }'
 fi