~mil/sxmo-utils

f058e173695853bf9c2bab071c94612fb249bad3 — Miles Alan 1 year, 5 months ago 4814701
SIGKILL on close menu in dialer
1 files changed, 1 insertions(+), 1 deletions(-)

M scripts/modem/sxmo_modemdial.sh
M scripts/modem/sxmo_modemdial.sh => scripts/modem/sxmo_modemdial.sh +1 -1
@@ 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"