Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
6be2bb22
Commit
6be2bb22
authored
Apr 08, 2022
by
neilpang
Browse files
Update acme.sh
revert only when there is no `--server` specified.
parent
439defca
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
6be2bb22
...
@@ -5271,6 +5271,7 @@ renew() {
...
@@ -5271,6 +5271,7 @@ renew() {
fi
fi
#revert from staging CAs back to production CAs
#revert from staging CAs back to production CAs
if
[
-z
"
$ACME_DIRECTORY
"
]
;
then
case
"
$Le_API
"
in
case
"
$Le_API
"
in
"
$CA_LETSENCRYPT_V2_TEST
"
)
"
$CA_LETSENCRYPT_V2_TEST
"
)
...
@@ -5286,6 +5287,7 @@ renew() {
...
@@ -5286,6 +5287,7 @@ renew() {
Le_API
=
"
$CA_GOOGLE
"
Le_API
=
"
$CA_GOOGLE
"
;;
;;
esac
esac
fi
if
[
"
$Le_API
"
]
;
then
if
[
"
$Le_API
"
]
;
then
if
[
"
$Le_API
"
!=
"
$ACME_DIRECTORY
"
]
;
then
if
[
"
$Le_API
"
!=
"
$ACME_DIRECTORY
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment