mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2025-01-01 06:11:46 +00:00
quote message also in case statement
I don't now if its needed, but in my try to find the error in my commands.sh version, I also quoted the $MESSAGE in the case statement. Since it does not hurt it seems to be on the safe side.
This commit is contained in:
parent
dfdbb5f599
commit
44d96a9b8b
@ -47,7 +47,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi &
|
fi &
|
||||||
fi
|
fi
|
||||||
case $MESSAGE in
|
case "$MESSAGE" in
|
||||||
'/question')
|
'/question')
|
||||||
startproc "./question"
|
startproc "./question"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user