Last active
August 29, 2015 14:03
-
-
Save aabmass/2ca5568d409d4cf61b98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/timezone-systemd.cpp 2014-06-30 15:38:53.397571301 -0400 | |
+++ b/src/timezone-systemd-nullcheck.cpp 2014-06-30 15:40:35.128794407 -0400 | |
@@ -63,6 +63,12 @@ | |
SystemdTimezone::set_timezone() | |
{ | |
const gchar * tz_new = timedate1_get_timezone(m_timedate); | |
+ | |
+ if (tz_new == nullptr) | |
+ { | |
+ return; //quick fix | |
+ } | |
+ | |
timezone.set(tz_new); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment