mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18: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" \
|
||||
-c 1 \
|
||||
-q \
|
||||
"${host}"
|
||||
"${host}" 2>&1
|
||||
) && echo "$ret" | grep -sq " 0% packet loss" && {
|
||||
server_ping=true
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ _ping_server_intf() {
|
|||
-c 1 \
|
||||
-q \
|
||||
-I "$intf" \
|
||||
"${host}"
|
||||
"${host}" 2>&1
|
||||
)
|
||||
echo "$ret" | grep -sq " 0% packet loss" && {
|
||||
server_ping=true
|
||||
|
|
Loading…
Reference in a new issue