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
0ba95a3d
Commit
0ba95a3d
authored
Sep 24, 2016
by
neil
Browse files
fix auto upgrade
parent
0463b5d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
0ba95a3d
#!/usr/bin/env sh
VER
=
2.5.
6
VER
=
2.5.
7
PROJECT_NAME
=
"acme.sh"
...
...
@@ -3189,7 +3189,6 @@ cron() {
if
[
"
$AUTO_UPGRADE
"
]
;
then
export
LE_WORKING_DIR
(
.
$LE_WORKING_DIR
/
$PROJECT_ENTRY
>
/dev/null
if
!
upgrade
;
then
_err
"Cron:Upgrade failed!"
return
1
...
...
@@ -3206,7 +3205,7 @@ cron() {
renewAll
_ret
=
"
$?
"
IN_CRON
=
""
return
$_ret
exit
$_ret
}
version
()
{
...
...
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