From 62273c152f4b43c88b4bd8ea85577bd2214d6e07 Mon Sep 17 00:00:00 2001 From: driz <40674481+drizuid@users.noreply.github.com> Date: Sat, 14 Oct 2023 12:11:25 -0400 Subject: [PATCH] allow case insensitive TRUE/true/True --- root/app/duck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/app/duck.sh b/root/app/duck.sh index 4605db4..c48f09f 100755 --- a/root/app/duck.sh +++ b/root/app/duck.sh @@ -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