shellcheck fix: use -n instead of ! -z

This commit is contained in:
Anjandev Momi 2020-12-04 23:20:54 -05:00
parent 031bb9de21
commit abd931d9ce

View file

@ -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