Skip to content

Commit

Permalink
make shellcheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed May 1, 2024
1 parent 20a8d5a commit 0adf424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/s6-overlay/scripts/nginx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0adf424

Please sign in to comment.