mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Do not display OMR-Tracker server errors in logs
This commit is contained in:
parent
e7cf500244
commit
07f35db2d6
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ _ping_server() {
|
||||||
-w "$OMR_TRACKER_TIMEOUT" \
|
-w "$OMR_TRACKER_TIMEOUT" \
|
||||||
-c 1 \
|
-c 1 \
|
||||||
-q \
|
-q \
|
||||||
"${host}"
|
"${host}" 2>&1
|
||||||
) && echo "$ret" | grep -sq " 0% packet loss" && {
|
) && echo "$ret" | grep -sq " 0% packet loss" && {
|
||||||
server_ping=true
|
server_ping=true
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ _ping_server_intf() {
|
||||||
-c 1 \
|
-c 1 \
|
||||||
-q \
|
-q \
|
||||||
-I "$intf" \
|
-I "$intf" \
|
||||||
"${host}"
|
"${host}" 2>&1
|
||||||
)
|
)
|
||||||
echo "$ret" | grep -sq " 0% packet loss" && {
|
echo "$ret" | grep -sq " 0% packet loss" && {
|
||||||
server_ping=true
|
server_ping=true
|
||||||
|
|
Loading…
Reference in a new issue