diff --git a/birdnet-pi/rootfs/custom-services.d/02-caddy.sh b/birdnet-pi/rootfs/custom-services.d/02-caddy.sh index a102ae6e0..511299480 100755 --- a/birdnet-pi/rootfs/custom-services.d/02-caddy.sh +++ b/birdnet-pi/rootfs/custom-services.d/02-caddy.sh @@ -5,7 +5,7 @@ sockfile="empty" until [[ -e /var/run/dbus/system_bus_socket ]] && [[ -e "$sockfile" ]]; do sleep 1s - sockfile="$(find /run/php -name *.sock)" + sockfile="$(find /run/php -name "*.sock")" done # Correct fpm.sock