Update 00-global_var.sh

This commit is contained in:
Alexandre
2022-03-10 10:23:47 +01:00
committed by GitHub
parent 0de0dbf9b9
commit ca1c7f266d

View File

@@ -30,6 +30,7 @@ done
################
# Set timezone #
################
set +e
if [ -n "$TZ" ] && [ -f /etc/localtime ]; then
if [ -f /usr/share/zoneinfo/"$TZ" ]; then
echo "Timezone set from $(cat /etc/timezone) to $TZ"