From 56d79a60679ba3783dcb5dd1ebe69436c5e5af7c Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 12 Jun 2019 19:04:51 +0200 Subject: [feat] check if polkit is running and launch it if possible - Resolves: #141 --- pkg/standalone/vpn.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkg/standalone/vpn.go') diff --git a/pkg/standalone/vpn.go b/pkg/standalone/vpn.go index 941d444..b858ee0 100644 --- a/pkg/standalone/vpn.go +++ b/pkg/standalone/vpn.go @@ -124,8 +124,7 @@ func (b *Bitmask) InstallHelpers() error { // VPNCheck returns if the helpers are installed and up to date and if polkit is running func (b *Bitmask) VPNCheck() (helpers bool, priviledge bool, err error) { - // TODO - return true, true, nil + return b.launch.check() } // ListGateways return the names of the gateways -- cgit v1.2.3