From ae5d32f369c9411c89a5bdab611bf9adaa281439 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Wed, 20 May 2020 16:21:38 -0500 Subject: [PATCH] Don't log grep test in modem dialer --- scripts/modem/sxmo_modemcall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/modem/sxmo_modemcall.sh b/scripts/modem/sxmo_modemcall.sh index 7048174..7da3f94 100755 --- a/scripts/modem/sxmo_modemcall.sh +++ b/scripts/modem/sxmo_modemcall.sh @@ -15,8 +15,8 @@ modem_n() { contacts() { RES="$(cat $LOGDIR/modemlog.tsv | cut -f3 | sort | uniq | awk NF)" - echo $RES - echo -e "$RES" | grep 8042221111 || echo Test Number 8042221111 + echo "$RES" + echo -e "$RES" | grep 8042221111 > /dev/null || echo "Test Number 8042221111" } modem_cmd_errcheck() {