mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: fix multiple wf-pf options in result
This commit is contained in:
parent
5bac3f3ced
commit
19b97c04c5
@ -749,7 +749,7 @@ xxxws_curl_test_update()
|
|||||||
shift
|
shift
|
||||||
$xxxf $testf $dom "$@"
|
$xxxf $testf $dom "$@"
|
||||||
code=$?
|
code=$?
|
||||||
[ $code = 0 ] && strategy="${WF:+$WF }${strategy:-$@}"
|
[ $code = 0 ] && strategy="${strategy:-$@}"
|
||||||
return $code
|
return $code
|
||||||
}
|
}
|
||||||
pktws_curl_test_update()
|
pktws_curl_test_update()
|
||||||
@ -786,7 +786,7 @@ report_strategy()
|
|||||||
if [ -n "$strategy" ]; then
|
if [ -n "$strategy" ]; then
|
||||||
echo "!!!!! $1: working strategy found for ipv${IPV} $2 : $3 $strategy !!!!!"
|
echo "!!!!! $1: working strategy found for ipv${IPV} $2 : $3 $strategy !!!!!"
|
||||||
echo
|
echo
|
||||||
report_append "ipv${IPV} $2 $1 : $3 $strategy"
|
report_append "ipv${IPV} $2 $1 : $3 ${WF:+$WF }$strategy"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
echo "$1: $3 strategy for ipv${IPV} $2 not found"
|
echo "$1: $3 strategy for ipv${IPV} $2 not found"
|
||||||
|
Loading…
Reference in New Issue
Block a user