Browse Source

fix " " to " " to pass travis

pull/1054/head
hiska 8 years ago
committed by GitHub
parent
commit
86ca9a354c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_dnsever.sh

2
dnsapi/dns_dnsever.sh

@ -235,7 +235,7 @@ dnsever_check() {
check=""
for n in $matched; do
seq=$(printf "%s\n" "$response" | _egrep_o "name=\"seq_$n\" value=\".+\"" | cut -f3 -d= | tr -d \")
old_txt=$(printf "%s\n" "$response" | _egrep_o "name=\"old_txt_$n\" value=\".+\" " | cut -f3 -d= | tr -d "\" ")
old_txt=$(printf "%s\n" "$response" | _egrep_o "name=\"old_txt_$n\" value=\".+\" " | cut -f3 -d= | tr -d "\" ")
if [ "$txtvalue" != "$old_txt" ]; then
_info "dnsever_check skip seq=$seq fulldomain=$fulldomain due to old_txt=$old_txt is different from txtvalue=$txtvalue skip"
continue

Loading…
Cancel
Save