Skip to content

A live bird collage card for your Home Assistant dashboard.

Update update_caddyfile.sh

Matt Burroughee0f24020ea6
diff --git a/scripts/update_caddyfile.sh b/scripts/update_caddyfile.sh
index 1d5286ae..daa959a3 100755
--- a/scripts/update_caddyfile.sh
+++ b/scripts/update_caddyfile.sh
@@ -7,7 +7,7 @@ if [ -f /etc/caddy/Caddyfile ];then
cp /etc/caddy/Caddyfile{,.original}
fi
if ! [ -z ${CADDY_PWD} ];then
-HASHWORD=$(caddy hash-password -plaintext ${CADDY_PWD})
+HASHWORD=$(caddy hash-password --plaintext ${CADDY_PWD})
cat << EOF > /etc/caddy/Caddyfile
http:// ${BIRDNETPI_URL} {
root * ${EXTRACTED}