Skip to content

Commit

Permalink
docker: add curly brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Apr 19, 2023
1 parent 67365d0 commit 24faab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ readonly test_fqdn
case "$first_dns"
in
(':'*)
nslookup -type=a "$test_fqdn" "127.0.0.1$first_dns" > /dev/null ||\
nslookup -type=a "$test_fqdn" "[::1]$first_dns" > /dev/null ||\
nslookup -type=a "$test_fqdn" "127.0.0.1${first_dns}" > /dev/null ||\
nslookup -type=a "$test_fqdn" "[::1]${first_dns}" > /dev/null ||\
error_exit "nslookup failed for $host"
;;
(*)
Expand Down

0 comments on commit 24faab0

Please sign in to comment.