Skip to content

Commit 4881bb5

Browse files
authored
Merge pull request #33 from aakb/hotfix/error-handling
Added error handling
2 parents 3f1d1cd + be7f2ef commit 4881bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/itkdev-docker-compose

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ if [ "$#" == "0" ]; then
173173
fi
174174

175175
# Check if traefik is running and print warning if not
176-
if [ ! "$(docker inspect -f '{{.State.Running}}' traefik)" == "true" ]; then
176+
if [ ! "$(docker inspect -f '{{.State.Running}}' traefik 2>/dev/null)" == "true" ]; then
177177
(>&2 echo "${bold}Traefik reverse proxy has not been started. Hostname will not be resolved to containers and not all commands will work correctly.${normal}")
178178
fi
179179

0 commit comments

Comments
 (0)