Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
e799ef29
Commit
e799ef29
authored
Nov 09, 2016
by
neilpang
Browse files
fix shellcheck warnings.
parent
0c538f75
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
e799ef29
...
...
@@ -2958,7 +2958,7 @@ renew() {
_isEcc
=
"
$2
"
_initpath
$Le_Domain
"
$_isEcc
"
_initpath
"
$Le_Domain
"
"
$_isEcc
"
_info
"
$(
__green
"Renew: '
$Le_Domain
'"
)
"
if
[
!
-f
"
$DOMAIN_CONF
"
]
;
then
...
...
@@ -2979,24 +2979,24 @@ renew() {
if
[
-z
"
$FORCE
"
]
&&
[
"
$Le_NextRenewTime
"
]
&&
[
"
$(
_time
)
"
-lt
"
$Le_NextRenewTime
"
]
;
then
_info
"Skip, Next renewal time is:
$(
__green
"
$Le_NextRenewTimeStr
"
)
"
_info
"Add '
$(
__red
'--force'
)
' to force to renew."
return
$RENEW_SKIP
return
"
$RENEW_SKIP
"
fi
IS_RENEW
=
"1"
issue
"
$Le_Webroot
"
"
$Le_Domain
"
"
$Le_Alt
"
"
$Le_Keylength
"
"
$Le_RealCertPath
"
"
$Le_RealKeyPath
"
"
$Le_RealCACertPath
"
"
$Le_ReloadCmd
"
"
$Le_RealFullChainPath
"
"
$Le_PreHook
"
"
$Le_PostHook
"
"
$Le_RenewHook
"
"
$Le_LocalAddress
"
res
=
$?
res
=
"
$?
"
if
[
"
$res
"
!=
"0"
]
;
then
return
$res
return
"
$res
"
fi
if
[
"
$Le_DeployHook
"
]
;
then
deploy
$Le_Domain
"
$Le_DeployHook
"
"
$Le_Keylength
"
res
=
$?
deploy
"
$Le_Domain
"
"
$Le_DeployHook
"
"
$Le_Keylength
"
res
=
"
$?
"
fi
IS_RENEW
=
""
return
$res
return
"
$res
"
}
#renewAll [stopRenewOnError]
...
...
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