From 1fd702947c9ab2c9a293f0cb684366b27920dbe0 Mon Sep 17 00:00:00 2001 From: Botspot <54716352+Botspot@users.noreply.github.com> Date: Sat, 17 Feb 2024 16:44:13 -0600 Subject: [PATCH] fix process detection for chromium-browser Fixes warning: "pgrep: pattern that searches for process name longer than 15 characters will result in zero matches" --- apps/Better Chromium/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Better Chromium/install b/apps/Better Chromium/install index 823802d917..ecafeb621f 100755 --- a/apps/Better Chromium/install +++ b/apps/Better Chromium/install @@ -229,7 +229,7 @@ fi text="Better Chromium - by Botspot" #detect if chromium is running, and if so, remind the user to relaunch it when done -if pgrep chromium >/dev/null || pgrep chromium-browser >/dev/null ;then +if pgrep chromium >/dev/null || pgrep -f chromium-browser >/dev/null ;then text+=$'\n'"Changes will take effect after you relaunch Chromium." fi