diff options
author | Thomas Anderson <tnyeanderson@users.noreply.github.com> | 2023-09-25 20:12:29 -0400 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2023-10-21 05:16:20 -0700 |
commit | 74f6879ed0a9152699e8ef30a6af5f2d4a4a4cdd (patch) | |
tree | 52403d95d7c8598e83d07e10c488c743e7e078ec /ipv6.sh | |
parent | ce2d3e945a906e56ef43ef29d329a9f39314fcef (diff) | |
download | homer-74f6879ed0a9152699e8ef30a6af5f2d4a4a4cdd.tar.gz homer-74f6879ed0a9152699e8ef30a6af5f2d4a4a4cdd.tar.zst homer-74f6879ed0a9152699e8ef30a6af5f2d4a4a4cdd.zip |
fix: use double brackets instead of test
Co-authored-by: Bastien Wirtz <bastien.wirtz@gmail.com>
Diffstat (limited to 'ipv6.sh')
-rwxr-xr-x | ipv6.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | # Enable IPV6 if needed | 3 | # Enable IPV6 if needed |
4 | if test -z "$IPV6_DISABLE"; then | 4 | if [[ "${IPV6_DISABLE}" == "1" ]]; then |
5 | echo '$SERVER["socket"] == "[::]:" + env.PORT { }' | 5 | echo '$SERVER["socket"] == "[::]:" + env.PORT { }' |
6 | fi | 6 | fi |