diff --git a/buzzer.sh b/buzzer.sh index e9e6fd7..6fc64b8 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -54,7 +54,7 @@ while true; do swupstat="$($cmdgpio read $swupgpio)" - while $(command -v pgrep) "$pgrepplayer" > /dev/null; then + while $(command -v pgrep) "$pgrepplayer" > /dev/null; do $(command -v pkill) "$pgrepplayer" done