From 62c381d5df2cf021a78b968b2f3fe365af09cad4 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 21 Jan 2024 09:12:40 +0100 Subject: [PATCH] * MOD: cleanup Signed-off-by: Uwe Hermann --- postgres-backup/app/includes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres-backup/app/includes.sh b/postgres-backup/app/includes.sh index 2535555..b2d9f3e 100644 --- a/postgres-backup/app/includes.sh +++ b/postgres-backup/app/includes.sh @@ -128,7 +128,7 @@ function init_env() { # TIMEZONE get_env TIMEZONE local TIMEZONE_MATCHED_COUNT - TIMEZONE_MATCHED_COUNT=$(find -type f -iname "/usr/share/zoneinfo/${TIMEZONE}" 2> /dev/null | wc -l) + TIMEZONE_MATCHED_COUNT=$(find "/usr/share/zoneinfo" -type f -iname "${TIMEZONE}" 2> /dev/null | wc -l) if [[ "${TIMEZONE_MATCHED_COUNT}" -ne 1 ]]; then TIMEZONE="UTC" fi