mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 15:36:19 +04:00
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>
(cherry picked from commit 215708a415)
This commit is contained in:
committed by
Hannu Nyman
parent
7d1344d95e
commit
32931c324b
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user