some bugfixes

This commit is contained in:
Martin Selbmann 2020-09-22 19:42:15 +02:00
parent a920253422
commit ab1ad48e9e
1 changed files with 6 additions and 1 deletions

View File

@ -52,7 +52,12 @@ while true; do
done
swupstat="$($cmdgpio read $swupgpio)"
$(command -v pkill) "$pgrepplayer"
while $(command -v pgrep) "$pgrepplayer" > /dev/null; then
$(command -v pkill) "$pgrepplayer"
done
echo "Off air!"
cmdonairstat=0