From 487278dcd12c01a67214996a4b8943a65061bfe0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 21 Jul 2017 15:07:46 +0200 Subject: [PATCH] net/mwan3: fix ubus output for mwan3track running state Fix ubus output for mwan3track running state Signed-off-by: Florian Eckert --- net/mwan3/files/usr/libexec/rpcd/mwan3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mwan3/files/usr/libexec/rpcd/mwan3 b/net/mwan3/files/usr/libexec/rpcd/mwan3 index bbc570f6c..f4d59220b 100755 --- a/net/mwan3/files/usr/libexec/rpcd/mwan3 +++ b/net/mwan3/files/usr/libexec/rpcd/mwan3 @@ -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