fix: SC2166 shellcheck fixes.

This commit is contained in:
Robert Wlodarczyk 2022-07-16 08:17:58 -07:00
parent 96e699c4d7
commit dcd3e429f6

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
if [ -z "$DOCKER_HOST" -a "$DOCKER_PORT_2375_TCP" ]; then
if [ -z "$DOCKER_HOST" ] && [ -a "$DOCKER_PORT_2375_TCP" ]; then
export DOCKER_HOST='tcp://docker:2375'
fi