bugfix: suppress uhttp uci error on mesh page with no description (#267)

This commit is contained in:
dman776 2018-11-14 16:16:51 -06:00 committed by GitHub
parent a2f32e041b
commit 311f4eff3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ if(-f "/etc/latlon") {
}
$olsrTotal = `/sbin/ip route list table 30 | wc -l`; #num hosts olsr is keeping track of
$olsrNodes = `/sbin/ip route list table 30 | egrep "/" | wc -l`; #num *nodes* on the network (minus other hosts)
$node_desc = `/sbin/uci get system.\@system[0].description`; #pull the node description from uci
$node_desc = `/sbin/uci -q get system.\@system[0].description`; #pull the node description from uci
# parse the txtinfo output