Fix new message count
This commit is contained in:
parent
0b22abd4b4
commit
c88b6fa18a
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ done
|
||||||
ids="$( mmcli -m "$modem" --messaging-list-sms |
|
ids="$( mmcli -m "$modem" --messaging-list-sms |
|
||||||
grep -Eo '/SMS/[0-9]+ \(received\)' | grep -Eo '[0-9]+' )"
|
grep -Eo '/SMS/[0-9]+ \(received\)' | grep -Eo '[0-9]+' )"
|
||||||
|
|
||||||
count="$(echo -n "$ids" | wc -l)"
|
count="$(echo "$ids" | wc -l)"
|
||||||
|
|
||||||
[ "$count" -eq 0 ] && return
|
[ "$count" -eq 0 ] && return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue