summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakclock1
1 files changed, 1 insertions, 0 deletions
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;