net/mwan3: remove needless log output on mwan3track
authorFlorian Eckert <redacted>
Fri, 11 May 2018 06:24:03 +0000 (08:24 +0200)
committerFlorian Eckert <redacted>
Fri, 11 May 2018 06:42:17 +0000 (08:42 +0200)
Remove needless log output this will pollute the logging.

Signed-off-by: Florian Eckert <redacted>
net/mwan3/files/usr/sbin/mwan3track

index f84ccaec3901e19b7a4f66f70bc1caf118ffc3ab..068e9cb14d5ebbe21485b10aa764cbe3f17ee8f0 100755 (executable)
@@ -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/%//'`
git clone https://git.99rst.org/PROJECT