pkg/unbound: Avoid unquoted var

Thanks-To: Elie Brami <elie.brami@epita.fr>
This commit is contained in:
nemunaire 2022-04-21 13:49:37 +02:00
parent 41cbf74c48
commit 3613da33cf

View File

@ -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