summaryrefslogtreecommitdiff
path: root/pkg/standalone/launcher.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/launcher.go
parentbce7470262385baca771feee90e48e0c2e3616c6 (diff)
[feat] check if polkit is running and launch it if possible
- Resolves: #141
Diffstat (limited to 'pkg/standalone/launcher.go')
-rw-r--r--pkg/standalone/launcher.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/standalone/launcher.go b/pkg/standalone/launcher.go
index 4dc4761..16ea8b0 100644
--- a/pkg/standalone/launcher.go
+++ b/pkg/standalone/launcher.go
@@ -40,6 +40,10 @@ func (l *launcher) close() error {
return nil
}
+func (l *launcher) check() (helpers bool, priviledge bool, err error) {
+ return true, true, nil
+}
+
func (l *launcher) openvpnStart(flags ...string) error {
byteFlags, err := json.Marshal(flags)
if err != nil {