summaryrefslogtreecommitdiff
path: root/systems/texlive/tlnet/tlpkg/tltcl/lib/tcl8.6/clock.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tltcl/lib/tcl8.6/clock.tcl')
-rw-r--r--systems/texlive/tlnet/tlpkg/tltcl/lib/tcl8.6/clock.tcl3
1 files changed, 1 insertions, 2 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tltcl/lib/tcl8.6/clock.tcl b/systems/texlive/tlnet/tlpkg/tltcl/lib/tcl8.6/clock.tcl
index 273b5345c7..aa5d228b6d 100644
--- a/systems/texlive/tlnet/tlpkg/tltcl/lib/tcl8.6/clock.tcl
+++ b/systems/texlive/tlnet/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] } {