summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2020-04-06 19:45:51 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-04-30 22:19:53 +0200
commit14a605300b7c1e1e2c32a7d10a401f6351a149ed (patch)
tree2f763fe516e25df54c6d51faffd16030aa3b1c35 /pkg
parentec758d123702a5aed2a8f34bbfa21d5f30a570e1 (diff)
[bug] switch to keybase go-ps implementation
The old mitchellh go-ps is not maintained and it has an issue where it truncates the process names: https://github.com/mitchellh/go-ps/issues/15 - Related: #152
Diffstat (limited to 'pkg')
-rw-r--r--pkg/standalone/launcher_linux.go2
-rw-r--r--pkg/systray/pid.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/standalone/launcher_linux.go b/pkg/standalone/launcher_linux.go
index 76f74f8..5b66415 100644
--- a/pkg/standalone/launcher_linux.go
+++ b/pkg/standalone/launcher_linux.go
@@ -25,7 +25,7 @@ import (
"0xacab.org/leap/bitmask-vpn/pkg/config"
"0xacab.org/leap/bitmask-vpn/pkg/standalone/bonafide"
- "github.com/mitchellh/go-ps"
+ "github.com/keybase/go-ps"
)
const (
diff --git a/pkg/systray/pid.go b/pkg/systray/pid.go
index ba3a6f3..b898d4e 100644
--- a/pkg/systray/pid.go
+++ b/pkg/systray/pid.go
@@ -11,7 +11,7 @@ import (
"syscall"
"0xacab.org/leap/bitmask-vpn/pkg/config"
- "github.com/mitchellh/go-ps"
+ "github.com/keybase/go-ps"
)
var pidFile = filepath.Join(config.Path, "systray.pid")