From 3896f61f92ebfb1054c715b6701ee2278e8b51ea Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Thu, 26 Feb 2004 13:56:59 +0000 Subject: perl_checker fix --- time_wizard/Ntp.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'time_wizard') diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm index 1d5fa309..b7dd9f31 100644 --- a/time_wizard/Ntp.pm +++ b/time_wizard/Ntp.pm @@ -179,7 +179,7 @@ sub get_timezone { -f "/etc/sysconfig/clock" or return; my %conf = getVarsFromSh("/etc/sysconfig/clock"); my ($c, $r) = split "/", $conf{ZONE}; - return ($conf{ZONE}, $c, $r) + return $conf{ZONE}, $c, $r; } sub test { @@ -196,7 +196,7 @@ sub test { } sub do_it { - if ($::testing){ + if ($::testing) { print "Would have written\nUTC=true\nZONE=$o->{var}{wiz_timezone}\nARC=false\n to /etc/sysconfig/clock\n\n"; print "Would have copied /usr/share/zoneinfo/$o->{var}{wiz_timezone} to /etc/localtime\n"; return -- cgit v1.2.1