This commit is contained in:
Martin Selbmann 2020-09-22 19:46:26 +02:00
parent ab1ad48e9e
commit 7460d33564

View file

@ -29,7 +29,7 @@ if [ "buzzer" != "$1" ] && [ "cron" != "$1" ]; then
exit 1 exit 1
fi fi
if $(command -v pgrep) "$pgrepplayer" > /dev/null; then if ! $(command -v pgrep) "$pgrepplayer" > /dev/null; then
if [ "$1" = "buzzer" ]; then if [ "$1" = "buzzer" ]; then
$(command -v pkill) "$pgrepplayer" $(command -v pkill) "$pgrepplayer"