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