summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclock.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/clock.pl b/clock.pl
index a28ab9b2..fb9d1cc6 100755
--- a/clock.pl
+++ b/clock.pl
@@ -123,7 +123,7 @@ $my_win->{window}->add(gtkpack_(Gtk2::VBox->new(0,0),
my ($year, $month, $day) = $calendar->get_date;
$month++;
my ($hour, $min, $sec) = ($adj_h->get_value, $adj_m->get_value, $adj_s->get_value);
- system(x"date " .
+ system("date " .
join('', map { print_it0($_) } ($month, $day, $hour, $min, $year)) . '.' . print_it0($sec));
-e '/sbin/hwclock' and system('/sbin/hwclock --systohc');
system("dcop kicker Panel restart") if $ENV{DESKTOP} eq 'kde';