some bugfixes

This commit is contained in:
Martin Selbmann 2020-09-22 19:19:46 +02:00
parent 8eb73d29dc
commit b1956f805b
1 changed files with 1 additions and 1 deletions

View File

@ -25,11 +25,11 @@ while true; do
if [ "$cmdonairstat" -eq 1 ]; then
cmdonairstat=0
if $(command -v pgrep) "$pgrepplayer" > /dev/null; then
$(command -v pkill) "$pgrepplayer"
fi
cmdonairstat=0
fi
buzzerstat="$($cmdgpio read $buzzgpio)"