diff --git a/sms_received.sh b/sms_received.sh index 05e1457..bc81b44 100755 --- a/sms_received.sh +++ b/sms_received.sh @@ -62,7 +62,7 @@ case "$CMD" in ;; *) echo "MESSAGE DE $phone POUR $CMD" - MESSAGE=$(echo "$TEXT" | cut -d ' ' -f2-) + MESSAGE=$(echo "$TEXT" | cut -d ' ' -f 2-) if [[ ${MESSAGE} ]]; then echo "${MESSAGE}" > /tmp/${phone}_message echo "${MESSAGE}"