diff --git a/pkg/unbound/docker-entrypoint.sh b/pkg/unbound/docker-entrypoint.sh index 7db45e9..a358120 100755 --- a/pkg/unbound/docker-entrypoint.sh +++ b/pkg/unbound/docker-entrypoint.sh @@ -2,9 +2,9 @@ set -e -if [ `which unbound-$1 2>/dev/null` ]; then +if [ `which "unbound-$1" 2>/dev/null` ]; then set -- unbound-"$@" -elif [ ! `which $1 2>/dev/null` ]; then +elif [ ! `which "$1" 2>/dev/null` ]; then set -- unbound -dv "$@" fi