From 1616c5930358f6216eb5ce001dd1b8ae0c815a12 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 4 May 2024 16:03:54 +0300 Subject: [PATCH] blockcheck: regression fix --- blockcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockcheck.sh b/blockcheck.sh index 188aaf8..47d26f8 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -749,7 +749,7 @@ xxxws_curl_test_update() shift $xxxf $testf $dom "$@" code=$? - [ $code = 0 ] && strategy="${WF:+$WF }${strategy:-$@}" + [ $code = 0 ] && strategy="${strategy:-$@}" return $code } pktws_curl_test_update() @@ -786,7 +786,7 @@ report_strategy() if [ -n "$strategy" ]; then echo "!!!!! $1: working strategy found for ipv${IPV} $2 : $3 $strategy !!!!!" echo - report_append "ipv${IPV} $2 $1 : $3 $strategy" + report_append "ipv${IPV} $2 $1 : $3 ${WF:+$WF }$strategy" return 0 else echo "$1: $3 strategy for ipv${IPV} $2 not found"