CMD empty case

This commit is contained in:
qo-op 2021-07-08 06:31:26 +02:00
parent fed983b5aa
commit e846f0602b
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ CMD=$(echo "$TEXT" | awk '{print toupper($1)}')
# SWITCH CASE DEPENDING ON SMS TEXT FIRST WORD
########################################################################
echo "COMMAND = $CMD"
[[ "$CMD" == ""]] && exit 1
[[ ! $CMD ]] && exit 1
# Handle commands
case "$CMD" in