Merge pull request #65 from linuxserver/drizuid-patch-1

allow case insensitive TRUE/true/True/trUE/etc
This commit is contained in:
driz 2023-10-14 12:21:17 -04:00 committed by GitHub
commit 17d2cc15f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [ "${LOG_FILE}" = "true" ]; then
if [ "${LOG_FILE,,}" = "true" ]; then
DUCK_LOG="/config/duck.log"
touch "${DUCK_LOG}"
touch /config/logrotate.status