net/mwan3: remove logging mwan3track pid is not found

Remove unnecessary logging if mwan3track pid is not found

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2018-05-08 15:42:40 +02:00
parent 2d9dfa3b1b
commit 215708a415

View file

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