diff --git a/.templates/00-global_var.sh b/.templates/00-global_var.sh index 93577b629..7187e029c 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-global_var.sh @@ -117,7 +117,8 @@ done ################ # Set timezone # ################ -set +e +set +eu + if [ -n "$TZ" ] && [ -f /etc/localtime ]; then if [ -f /usr/share/zoneinfo/"$TZ" ]; then echo "Timezone set from $(cat /etc/timezone) to $TZ"