mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 16:14:21 +00:00
Change flatpak process grep
This commit is contained in:
parent
03cf7a9aa0
commit
1fe9af78b1
@ -995,7 +995,7 @@ lutris_restart() {
|
||||
debug_print continue "Restarting native Lutris..."
|
||||
pkill -f -SIGTERM lutris && nohup lutris </dev/null &>/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 &>/dev/null &
|
||||
|
Loading…
Reference in New Issue
Block a user