summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/tcl8.6/clock.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tltcl/lib/tcl8.6/clock.tcl')
-rw-r--r--Master/tlpkg/tltcl/lib/tcl8.6/clock.tcl3
1 files changed, 1 insertions, 2 deletions
diff --git a/Master/tlpkg/tltcl/lib/tcl8.6/clock.tcl b/Master/tlpkg/tltcl/lib/tcl8.6/clock.tcl
index 273b5345c72..aa5d228b6db 100644
--- a/Master/tlpkg/tltcl/lib/tcl8.6/clock.tcl
+++ b/Master/tlpkg/tltcl/lib/tcl8.6/clock.tcl
@@ -2988,8 +2988,7 @@ proc ::tcl::clock::GetSystemTimeZone {} {
set timezone $result
} elseif {[set result [getenv TZ]] ne {}} {
set timezone $result
- }
- if {![info exists timezone]} {
+ } else {
# Cache the time zone only if it was detected by one of the
# expensive methods.
if { [info exists CachedSystemTimeZone] } {