mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Merge branch 'dev' into feature/killswitch-strict-mode
This commit is contained in:
@@ -162,11 +162,11 @@ void RouterLinux::flushDns()
|
||||
|| QFileInfo::exists("/usr/sbin/nscd")
|
||||
|| QFileInfo::exists("/usr/lib/systemd/system/nscd.service"))
|
||||
{
|
||||
p.start("systemctl restart nscd");
|
||||
p.start("systemctl", { "restart", "nscd" });
|
||||
}
|
||||
else
|
||||
{
|
||||
p.start("systemctl restart systemd-resolved");
|
||||
p.start("systemctl", { "restart", "systemd-resolved" });
|
||||
}
|
||||
|
||||
p.waitForFinished();
|
||||
|
||||
Reference in New Issue
Block a user