diff --git a/libfreerdp/locale/timezone.c b/libfreerdp/locale/timezone.c index 3070f1fa6..4a06786e4 100644 --- a/libfreerdp/locale/timezone.c +++ b/libfreerdp/locale/timezone.c @@ -1539,7 +1539,8 @@ char* freerdp_get_unix_timezone_identifier() * America/Montreal for example. */ - if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1) + if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1 || + (len = readlink("/etc/TZ", buf, sizeof(buf) - 1)) != -1) { int num = 0; int pos = len;