From eb257125f492f8fc987a5e0ff2af16b68e90af9b Mon Sep 17 00:00:00 2001 From: seajee Date: Mon, 2 Sep 2024 05:18:30 +0200 Subject: [PATCH] Fix input overwrite on time zone configuration --- chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroot.sh b/chroot.sh index 905f82d..56f3c04 100755 --- a/chroot.sh +++ b/chroot.sh @@ -13,7 +13,7 @@ while read -p "Enter time zone (${timezone}): " input if [[ -n "$input" ]]; then - input="$timezone" + break fi if [[ ! -f "/usr/share/zoneinfo/${input}" ]]; then