diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-02-14 01:28:55 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-02-14 10:46:59 +0100 |
commit | 11b2ca66e3cfed22d62a3cb48c4485e6a3b548a2 (patch) | |
tree | 37fb7de83659a84fcc6a3b22a326dead2a4941ab /main.go | |
parent | a52abd0c722ec08cd95c8c9be76e27a04012b282 (diff) |
[feat] timeout if bitmaskd doesn't respond
- Resolves: #7
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -49,7 +49,8 @@ func checkAndInstallHelpers(b *bitmask.Bitmask, notify *notificator) { log.Printf("No polkit found") notify.authAgent() } else if err != nil { - log.Fatal(err) + notify.bitmaskNotRunning() + log.Fatal("Is bitmask running? ", err) } if !helpers { |