net/mwan3: fix ubus output for mwan3track running state
Fix ubus output for mwan3track running state Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
9df6e9dd98
commit
487278dcd1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ get_mwan3_status() {
|
||||||
local pid
|
local pid
|
||||||
|
|
||||||
if [ "${iface}" = "${iface_select}" ] || [ "${iface_select}" = "" ]; then
|
if [ "${iface}" = "${iface_select}" ] || [ "${iface_select}" = "" ]; then
|
||||||
pid="$(pgrep -f "mwan3track $iface_selected")"
|
pid="$(pgrep -f "mwan3track $iface")"
|
||||||
if [ "${pid}" != "" ]; then
|
if [ "${pid}" != "" ]; then
|
||||||
running="1"
|
running="1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue