From abd931d9ced1cb49f07f5f852386990528825c91 Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Fri, 4 Dec 2020 23:20:54 -0500 Subject: [PATCH] shellcheck fix: use -n instead of ! -z --- 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 57a289c..3117279 100755 --- a/scripts/modem/sxmo_modemdial.sh +++ b/scripts/modem/sxmo_modemdial.sh @@ -49,6 +49,6 @@ dialmenu() { modem_n || fatalerr "Couldn't determine modem number - is modem online?" CREATEDCALLID="$(dialmenu)" -if [ ! -z "$CREATEDCALLID" ]; then +if [ -n "$CREATEDCALLID" ]; then sxmo_modemcall.sh pickup "$CREATEDCALLID" fi