Skip to content

Commit

Permalink
fix process detection for chromium-browser
Browse files Browse the repository at this point in the history
Fixes warning: "pgrep: pattern that searches for process name longer than 15 characters will result in zero matches"
  • Loading branch information
Botspot authored Feb 17, 2024
1 parent f2648b4 commit 1fd7029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/Better Chromium/install
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ fi
text="<b>Better Chromium</b> - 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

Expand Down

0 comments on commit 1fd7029

Please sign in to comment.