shellcheck fix: use -n instead of ! -z
This commit is contained in:
parent
031bb9de21
commit
abd931d9ce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue