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:
Florian Eckert 2017-07-21 15:07:46 +02:00
parent 9df6e9dd98
commit 487278dcd1

View file

@ -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