mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
net/mwan3: remove needless log output on mwan3track
Remove needless log output this will pollute the logging. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -121,7 +121,6 @@ main() {
|
||||
if [ $check_quality -eq 0 ]; then
|
||||
ping -I $DEVICE -c $count -W $timeout -s $size -q $track_ip &> /dev/null
|
||||
result=$?
|
||||
$LOG info "ping check result $track_ip on $1 ($2): $result"
|
||||
else
|
||||
ping_result=`ping -I $DEVICE -c $count -W $timeout -s $size -q $track_ip | tail -2`
|
||||
loss=`echo "$ping_result" | grep "packet loss" | cut -d "," -f3 | awk '{print $1}' | sed -e 's/%//'`
|
||||
|
||||
Reference in New Issue
Block a user