mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
Merge pull request #2657 from gildea/master
Return failure when falling through limiting loop
This commit is contained in:
commit
f59f484c01
8
acme.sh
8
acme.sh
@ -2040,8 +2040,10 @@ _send_signed_request() {
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
break
|
return 0
|
||||||
done
|
done
|
||||||
|
_info "Giving up sending to CA server after $MAX_REQUEST_RETRY_TIMES retries."
|
||||||
|
return 1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3819,9 +3821,11 @@ _check_dns_entries() {
|
|||||||
_sleep 10
|
_sleep 10
|
||||||
else
|
else
|
||||||
_info "All success, let's return"
|
_info "All success, let's return"
|
||||||
break
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
_info "Timed out waiting for DNS."
|
||||||
|
return 1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user