mirror of
https://github.com/flatpak/flatpak.git
synced 2026-06-13 11:10:34 -04:00
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:
committed by
Alexander Larsson
parent
f4337b9a4e
commit
c3bd7bc855
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user