From 3613da33cfd6f99fb053bb3ed6771bbf8e4589bd Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 21 Apr 2022 13:49:37 +0200 Subject: [PATCH] pkg/unbound: Avoid unquoted var Thanks-To: Elie Brami --- pkg/unbound/docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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