shellcheck fix: use -n instead of ! -z

master
Anjandev Momi 4 years ago
parent 031bb9de21
commit abd931d9ce
  1. 2
      scripts/modem/sxmo_modemdial.sh

@ -49,6 +49,6 @@ dialmenu() {
modem_n || fatalerr "Couldn't determine modem number - is modem online?" modem_n || fatalerr "Couldn't determine modem number - is modem online?"
CREATEDCALLID="$(dialmenu)" CREATEDCALLID="$(dialmenu)"
if [ ! -z "$CREATEDCALLID" ]; then if [ -n "$CREATEDCALLID" ]; then
sxmo_modemcall.sh pickup "$CREATEDCALLID" sxmo_modemcall.sh pickup "$CREATEDCALLID"
fi fi

Loading…
Cancel
Save