This commit is contained in:
Martin Selbmann 2020-09-22 19:47:16 +02:00
parent 7460d33564
commit b816935bb5
1 changed files with 1 additions and 1 deletions

View File

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