summaryrefslogtreecommitdiff
path: root/systray.go
diff options
context:
space:
mode:
Diffstat (limited to 'systray.go')
-rw-r--r--systray.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/systray.go b/systray.go
index 0e714a8..9614e7f 100644
--- a/systray.go
+++ b/systray.go
@@ -2,6 +2,7 @@ package main
import (
"fmt"
+ "os"
"0xacab.org/meskio/bitmask-systray/icon"
"github.com/getlantern/systray"
@@ -84,7 +85,7 @@ func (bt *bmTray) onReady() {
case <-mQuit.ClickedCh:
systray.Quit()
fmt.Println("Quit now...")
- return
+ os.Exit(0)
}
}
}()