summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS3
-rwxr-xr-xperl-install/standalone/drakclock1
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 7da8275d9..67536cff2 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakclock:
+ o fix crash introduced in 17.77 (mga#20956)
+
Version 17.82 - 6 May 2017
- drakboot:
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index 3f4fe2e84..ed0ce940e 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -250,6 +250,7 @@ sub get_server() {
}
sub update_time() {
my (undef, undef, undef, $mday, $mon, $year) = localtime(time());
+ return 1 if !$cairo;
$year += 1900;
my $old_its_reset = $its_reset;
$its_reset = 1;