diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index 1c371ea65..74d5592eb 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -492,11 +492,9 @@ mwan3_track_signal() local pid pid="$(pgrep -f "mwan3track $1 $2")" - if [ "${pid}" != "" ]; then + [ "${pid}" != "" ] && { kill -USR1 "${pid}" - else - $LOG warn "Unable to send signal USR1 to mwan3track on interface $1 with pid ${pid}" - fi + } } mwan3_set_policy()