diff options
Diffstat (limited to 'perl-install/standalone/drakclock')
-rwxr-xr-x | perl-install/standalone/drakclock | 2 |
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'); |