From 7460d3356494c89bccb5d0abd74ef32d7607e683 Mon Sep 17 00:00:00 2001 From: Martin Selbmann Date: Tue, 22 Sep 2020 19:46:26 +0200 Subject: [PATCH] foo --- RandomVideo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RandomVideo.sh b/RandomVideo.sh index 9b9964b..d787cd4 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -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"