From f058e173695853bf9c2bab071c94612fb249bad3 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Mon, 29 Jun 2020 19:54:15 -0500 Subject: [PATCH] SIGKILL on close menu in dialer --- scripts/modem/sxmo_modemdial.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/modem/sxmo_modemdial.sh b/scripts/modem/sxmo_modemdial.sh index c4440ee..7ff2fac 100755 --- a/scripts/modem/sxmo_modemdial.sh +++ b/scripts/modem/sxmo_modemdial.sh @@ -22,7 +22,7 @@ dialmenu() { grep . | sxmo_dmenu_with_kb.sh -l 10 -p Number -c -fn Terminus-20 )" - echo "$NUMBER" | grep "Close Menu" && kill 0 + echo "$NUMBER" | grep "Close Menu" && kill -9 0 NUMBER="$(echo "$NUMBER" | cut -d: -f1 | tr -d -- '- ')" echo "$NUMBER" | grep -qE '^[+0-9]+$' || fatalerr "$NUMBER is not a number"