From 93de0d4d8427bc8b040bacc916433e572cc0ea4a Mon Sep 17 00:00:00 2001 From: Sam Bowlby Date: Sat, 29 Aug 2020 03:24:31 -0500 Subject: [PATCH] correct variable name for incoming text number used in sms hook --- scripts/modem/sxmo_modemmonitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/modem/sxmo_modemmonitor.sh b/scripts/modem/sxmo_modemmonitor.sh index 8c6c804..16f921c 100755 --- a/scripts/modem/sxmo_modemmonitor.sh +++ b/scripts/modem/sxmo_modemmonitor.sh @@ -119,7 +119,7 @@ checkfornewtexts() { "Message - $(sxmo_contacts.sh | grep -E "^$NUM:"): $TEXT" if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/sms" ]; then - "$XDG_CONFIG_HOME/sxmo/hooks/sms" "$(sxmo_contacts.sh | grep -E "^$INCOMINGNUMBER")" "$TEXT" + "$XDG_CONFIG_HOME/sxmo/hooks/sms" "$(sxmo_contacts.sh | grep -E "^$NUM")" "$TEXT" fi done }