mirror of
https://github.com/tnodir/fort
synced 2024-11-15 01:55:44 +00:00
UI: FortManager::closeOrRemoveDriver: Fix service checking
This commit is contained in:
parent
59d4d0f001
commit
d73a00db49
@ -336,7 +336,10 @@ void FortManager::closeDriver()
|
||||
|
||||
void FortManager::closeOrRemoveDriver()
|
||||
{
|
||||
if (canInstallDriver() && !IoC<FortSettings>()->hasService()) {
|
||||
const bool hasService =
|
||||
(IoC<FortSettings>()->hasService() || StartupUtil::isServiceInstalled());
|
||||
|
||||
if (!hasService && canInstallDriver()) {
|
||||
const FirewallConf *conf = IoC<ConfManager>()->conf();
|
||||
|
||||
if (!conf->bootFilter()) {
|
||||
|
Loading…
Reference in New Issue
Block a user