mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2026-10-26 19:38:55 +01:00
fix: SC2166 shellcheck fixes.
This commit is contained in:
1 parent
96e699c4d7
commit
dcd3e429f6
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user