summaryrefslogtreecommitdiff
path: root/pkg/standalone/vpn.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-06-12 19:04:51 +0200
committerRuben Pollan <meskio@sindominio.net>2019-06-13 11:51:32 +0200
commit56d79a60679ba3783dcb5dd1ebe69436c5e5af7c (patch)
treecf391b54bff6a0bc54a8de958444fd968f60ed2b /pkg/standalone/vpn.go
parentbce7470262385baca771feee90e48e0c2e3616c6 (diff)
[feat] check if polkit is running and launch it if possible
- Resolves: #141
Diffstat (limited to 'pkg/standalone/vpn.go')
-rw-r--r--pkg/standalone/vpn.go3
1 files changed, 1 insertions, 2 deletions
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