mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 13:26:17 +04:00
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:
@@ -37,7 +37,7 @@ get_mwan3_status() {
|
||||
local pid
|
||||
|
||||
if [ "${iface}" = "${iface_select}" ] || [ "${iface_select}" = "" ]; then
|
||||
pid="$(pgrep -f "mwan3track $iface_selected")"
|
||||
pid="$(pgrep -f "mwan3track $iface")"
|
||||
if [ "${pid}" != "" ]; then
|
||||
running="1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user