diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 6caa23d5..2d34d16b 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -if type "$1" 2> /dev/null; then +if type "$1" > /dev/null 2>&1; then ## First argument is an actual OS command. Run it exec "$@" else