summaryrefslogtreecommitdiffstats
path: root/time_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-02-26 13:56:59 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-02-26 13:56:59 +0000
commit3896f61f92ebfb1054c715b6701ee2278e8b51ea (patch)
treea5a604d0af2e8ce856f1cf2dad4613e73319c40f /time_wizard
parent3dec3126dfb6aa22618fed1741e83a75dcd4d9ac (diff)
downloaddrakwizard-3896f61f92ebfb1054c715b6701ee2278e8b51ea.tar
drakwizard-3896f61f92ebfb1054c715b6701ee2278e8b51ea.tar.gz
drakwizard-3896f61f92ebfb1054c715b6701ee2278e8b51ea.tar.bz2
drakwizard-3896f61f92ebfb1054c715b6701ee2278e8b51ea.tar.xz
drakwizard-3896f61f92ebfb1054c715b6701ee2278e8b51ea.zip
perl_checker fix
Diffstat (limited to 'time_wizard')
-rw-r--r--time_wizard/Ntp.pm4
1 files changed, 2 insertions, 2 deletions
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