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
acae0ac2
Commit
acae0ac2
authored
May 04, 2019
by
neilpang
Browse files
fix RENEW_SKIP code
parent
0f866510
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
acae0ac2
...
@@ -4622,7 +4622,7 @@ renew() {
...
@@ -4622,7 +4622,7 @@ renew() {
_info
"
$(
__green
"Renew: '
$Le_Domain
'"
)
"
_info
"
$(
__green
"Renew: '
$Le_Domain
'"
)
"
if
[
!
-f
"
$DOMAIN_CONF
"
]
;
then
if
[
!
-f
"
$DOMAIN_CONF
"
]
;
then
_info
"'
$Le_Domain
' is not a issued domain, skip."
_info
"'
$Le_Domain
' is not a issued domain, skip."
return
0
return
$RENEW_SKIP
fi
fi
if
[
"
$Le_RenewalDays
"
]
;
then
if
[
"
$Le_RenewalDays
"
]
;
then
...
@@ -4676,7 +4676,7 @@ renew() {
...
@@ -4676,7 +4676,7 @@ renew() {
if
[
"
$IN_CRON
"
=
"1"
]
&&
[
-z
"
$Le_CertCreateTime
"
]
;
then
if
[
"
$IN_CRON
"
=
"1"
]
&&
[
-z
"
$Le_CertCreateTime
"
]
;
then
_info
"Skip invalid cert for:
$Le_Domain
"
_info
"Skip invalid cert for:
$Le_Domain
"
return
0
return
$RENEW_SKIP
fi
fi
IS_RENEW
=
"1"
IS_RENEW
=
"1"
...
...
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