diff --git a/RandomVideo.sh b/RandomVideo.sh index d805778..c113856 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -13,7 +13,7 @@ if [ $# -gt 1 ]; then exit 1 fi -if [ "buzzer" != "$1" -a "cron" != "$1" ]; then +if [ "buzzer" != "$1" ] && [ "cron" != "$1" ]; then echo "Parameter muss \"buzzer\" oder \"cron\" sein" exit 1 fi