From 78567c3f8ef4796137c92ccdb0f7c17d4c1e5b1d Mon Sep 17 00:00:00 2001 From: Upamanyu Sharma Date: Fri, 19 Sep 2025 14:55:29 -0400 Subject: [PATCH] packaging: use `pgrep -f` to match only the main Keybase process --- packaging/linux/run_keybase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/linux/run_keybase b/packaging/linux/run_keybase index 0dcf56576b24..5fcdcd72f9fc 100755 --- a/packaging/linux/run_keybase +++ b/packaging/linux/run_keybase @@ -27,7 +27,7 @@ kill_all() { # Only stop main Electron process; others have additional flags after the process name # Child Electron processes will be stopped by main process' handler - if main_electron_pids="$(pgrep 'Keybase$')"; then + if main_electron_pids="$(pgrep -f 'Keybase$')"; then # intentionally splitting pids # shellcheck disable=SC2046 kill $(echo "$main_electron_pids" | xargs) &> /dev/null && echo Shutting down Keybase GUI...