fix a notification bug when sms come from whitespace content number
We quote the sms path on notificationwrite to prevent buggy commands. mn: This patch fixes texts from numbers like "CREDIT AGRICOLE" Signed-off-by: Reed Wade <reedwade@misterbanal.net> Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
parent
e8e4c77a51
commit
1e00b72d90
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ checkfornewtexts() {
|
|||
|
||||
sxmo_notificationwrite.sh \
|
||||
random \
|
||||
"st -e tail -n9999 -f $LOGDIR/$NUM/sms.txt" \
|
||||
"st -e tail -n9999 -f '$LOGDIR/$NUM/sms.txt'" \
|
||||
"$LOGDIR/$NUM/sms.txt" \
|
||||
"Message - $(sxmo_contacts.sh | grep -E "^\\$NUM"): $TEXT"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue