summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-11-17 20:57:03 +0000
committerColin Guthrie <colin@mageia.org>2013-11-17 20:57:03 +0000
commit0cb23c91706f6e33ac66e5a80c1c5cb5046c1ca1 (patch)
tree1209f570588e2d9465d353151381afa27e96d51e /perl-install
parentd54857e5704e52bc93d810250732affc82e1d65f (diff)
downloaddrakx-0cb23c91706f6e33ac66e5a80c1c5cb5046c1ca1.tar
drakx-0cb23c91706f6e33ac66e5a80c1c5cb5046c1ca1.tar.gz
drakx-0cb23c91706f6e33ac66e5a80c1c5cb5046c1ca1.tar.bz2
drakx-0cb23c91706f6e33ac66e5a80c1c5cb5046c1ca1.tar.xz
drakx-0cb23c91706f6e33ac66e5a80c1c5cb5046c1ca1.zip
Fix string comparison in chrony support
My bad, not David's
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakclock2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index de60872f6..fdda6e96d 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -120,7 +120,7 @@ $my_win->{window}->add(gtknew('VBox', border_width => $::isEmbedded ? 0 : 5, chi
#verify that we have a valid hostname (thx sam)
$choosed_serv =~ s/[^-a-zA-Z0-9.]//g;
my $sync_ok;
- if ($ntpd == "chronyd") {
+ if ($ntpd eq "chronyd") {
system('systemctl', 'start', "$ntpd.service");
# Wait up to 30s for sync
$sync_ok = !system('chronyc', 'waitsync', '30', '0.1');