From 0adf4242b47c6e986f66287c393bf103ead6fe6d Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Wed, 1 May 2024 20:22:07 +0200 Subject: [PATCH] make shellcheck happy --- rootfs/etc/s6-overlay/scripts/nginx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/scripts/nginx b/rootfs/etc/s6-overlay/scripts/nginx index d18b97d..8016ec6 100755 --- a/rootfs/etc/s6-overlay/scripts/nginx +++ b/rootfs/etc/s6-overlay/scripts/nginx @@ -3,7 +3,7 @@ source /scripts/common -if [[ "$(ls /etc/nginx/sites-enabled | wc -l)" == "0" ]]; then +if [[ "$(find /etc/nginx/sites-enabled/ -type f | wc -l)" == "0" ]]; then exec sleep infinity fi