Исправлена команда отключения ntp серверов

pull/30/head
Igor Belitskiy 3 years ago
parent 0600ec95de
commit e77896f8ba

@ -275,7 +275,7 @@ void MainWindow::wind_close_ntp(){
void MainWindow::stop_ntp(){
windowsNnpClose->hide();
string cmd = "[[ systemctl --quiet is-active systemd-timesyncd &>/dev/null ]] && systemctl stop systemd-timesyncd";
string cmd = "systemd-timesyncd [[ systemctl --quiet is-active systemd-timesyncd &>/dev/null ]] && systemctl stop systemd-timesyncd";
system(cmd.c_str());
this->update_time_date();

Loading…
Cancel
Save