1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 19:41:51 +00:00

Remove log when check on non existing interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-03-15 15:15:56 +01:00
parent 75c9e1e317
commit 2bc7f78810

View file

@ -53,7 +53,7 @@ _check_server_intf() {
local host=$1
local port=$2
local valid_ip6=$(valid_subnet6 $host)
for intf in $(multipath | awk '/default/ {print $1}'); do
for intf in $(multipath 2>/dev/null | awk '/default/ {print $1}'); do
local k=0
while [ "$server_ping" = false ] && [ "$k" -le "$retry" ]; do
if [ "$valid_ip6" != "ok" ]; then