diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 7205944..2480021 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -311,7 +311,7 @@ http://localhost http://$(hostname).local ${BIRDNETPI_URL} { EOF fi - if [ ! -z ${WEBTERMINAL_URL} ] && [ -! z ${HASHWORD} ];then + if [ ! -z ${WEBTERMINAL_URL} ] && [ ! -z ${HASHWORD} ];then cat << EOF >> /etc/caddy/Caddyfile ${WEBTERMINAL_URL} { basicauth { diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 99e3d35..181cbd9 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -300,7 +300,7 @@ http://localhost http://$(hostname).local ${BIRDNETPI_URL} { EOF fi - if [ ! -z ${WEBTERMINAL_URL} ] && [ -! z ${HASHWORD} ];then + if [ ! -z ${WEBTERMINAL_URL} ] && [ ! -z ${HASHWORD} ];then cat << EOF >> /etc/caddy/Caddyfile ${WEBTERMINAL_URL} { basicauth {