summaryrefslogtreecommitdiffstats
path: root/time_wizard
diff options
context:
space:
mode:
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