From 14a605300b7c1e1e2c32a7d10a401f6351a149ed Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 6 Apr 2020 19:45:51 +0200 Subject: [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 --- pkg/standalone/launcher_linux.go | 2 +- pkg/systray/pid.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg') 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") -- cgit v1.2.3