From 1fe9af78b12cba6f95fe6b400f483c9808fe5bf7 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sun, 30 Oct 2022 18:02:22 -0400 Subject: [PATCH] Change flatpak process grep --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 46d2271..1ec5af4 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -995,7 +995,7 @@ lutris_restart() { debug_print continue "Restarting native Lutris..." pkill -f -SIGTERM lutris && nohup lutris /dev/null & fi - if [ "$lutris_flatpak" = "true" ] && pgrep -f lutris | xargs ps -fp | grep -q "lutris-wrapper"; then + if [ "$lutris_flatpak" = "true" ] && pgrep -f lutris | xargs ps -fp | grep -q "/app/bin/lutris"; then # Flatpak Lutris is running debug_print continue "Restarting flatpak Lutris..." pkill -f -SIGTERM lutris && nohup flatpak run net.lutris.Lutris /dev/null &