diff --git a/doc/hosting/linux_scripts/common.sh b/doc/hosting/linux_scripts/common.sh index f7587eefdca..7853597429d 100644 --- a/doc/hosting/linux_scripts/common.sh +++ b/doc/hosting/linux_scripts/common.sh @@ -5,7 +5,7 @@ function check { echo "[ERROR] netstat or ss is required to check for available ports" exit 1 fi - if [ ! $(command -v $wz2100cmd) ]; then + if [ ! "$(command -v $wz2100cmd)" ]; then echo "[ERROR] Cannot execute \"$wz2100cmd\"." exit 1 fi