From 273145beb5e9a512348b20e0af5a6c0aef88d8ad Mon Sep 17 00:00:00 2001 From: qo-op Date: Mon, 21 Jun 2021 19:13:34 +0200 Subject: [PATCH] bug --- sms_received.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"