mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
require server be set
This commit is contained in:
parent
ecc43b8c4a
commit
fcd23ac342
1 changed files with 1 additions and 3 deletions
|
|
@ -3,9 +3,7 @@
|
|||
# A hackish script to see if the client is behaving as expected
|
||||
# with each of the "passing" conf files.
|
||||
|
||||
SERVER="${SERVER:-http://localhost:4000/directory}"
|
||||
if ! python -c "import requests; requests.get('$SERVER')"; then
|
||||
echo "ACME server not found."
|
||||
if [ -z "$SERVER" ]; then
|
||||
echo "Please set SERVER to the ACME server's directory URL."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue