Fix input overwrite on time zone configuration
This commit is contained in:
@@ -13,7 +13,7 @@ while
|
|||||||
read -p "Enter time zone (${timezone}): " input
|
read -p "Enter time zone (${timezone}): " input
|
||||||
|
|
||||||
if [[ -n "$input" ]]; then
|
if [[ -n "$input" ]]; then
|
||||||
input="$timezone"
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f "/usr/share/zoneinfo/${input}" ]]; then
|
if [[ ! -f "/usr/share/zoneinfo/${input}" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user