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