summaryrefslogtreecommitdiff
path: root/pkg/systray/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/systray/run.go')
-rw-r--r--pkg/systray/run.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/systray/run.go b/pkg/systray/run.go
index 172b9e8..d9d39de 100644
--- a/pkg/systray/run.go
+++ b/pkg/systray/run.go
@@ -82,6 +82,7 @@ func checkAndInstallHelpers(b bitmask.Bitmask, notify *notificator) error {
if (err != nil && err.Error() == "nopolkit") || (err == nil && !priviledge) {
log.Printf("No polkit found")
notify.authAgent()
+ os.Exit(1)
} else if err != nil {
log.Printf("Error checking vpn: %v", err)
notify.errorStartingVPN(err)