Fix typo in /etc/timezone filename

flatpak_get_timezone () tries to access /etc/timezone if /etc/localtime
isn't a valid symlink, but gets the name wrong. Fix it.

Found by code inspection.
This commit is contained in:
Thiago Jung Bauermann
2019-12-16 01:31:37 -03:00
committed by Alexander Larsson
parent f4337b9a4e
commit c3bd7bc855

View File

@@ -57,7 +57,7 @@ flatpak_get_timezone (void)
}
}
if (g_file_get_contents ("/etc/timezeone", &etc_timezone,
if (g_file_get_contents ("/etc/timezone", &etc_timezone,
NULL, NULL))
{
g_strchomp (etc_timezone);