From a98f580f241a7c39b7b04d746c9dffe1318ed336 Mon Sep 17 00:00:00 2001 From: Martin Selbmann Date: Tue, 22 Sep 2020 19:51:03 +0200 Subject: [PATCH] foo --- buzzer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buzzer.sh b/buzzer.sh index 6fc64b8..c992090 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; do + while [ ! -z "$($(command -v pgrep) "$pgrepplayer")" ]; do $(command -v pkill) "$pgrepplayer" done