add quotes for variables
This commit is contained in:
parent
929f3dec26
commit
9e4ec6c457
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ if [ "buzzer" != "$1" -a "cron" != "$1" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $(command -v pgrep) "$player > /dev/null; then
|
if $(command -v pgrep) "$player" > /dev/null; then
|
||||||
if [ "$1" = "buzzer" ]; then
|
if [ "$1" = "buzzer" ]; then
|
||||||
$(command -v pkill) $player
|
$(command -v pkill) "$player"
|
||||||
|
|
||||||
elif [ "$1" = "cron" ]; then
|
elif [ "$1" = "cron" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue