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
87ab2d90
Commit
87ab2d90
authored
Jun 25, 2016
by
neil
Browse files
minor, add more debug info
parent
687cfcc2
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
87ab2d90
...
...
@@ -645,6 +645,10 @@ _post() {
_ret
=
"
$?
"
if
[
"
$_ret
"
!=
"0"
]
;
then
_err
"Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code:
$_ret
"
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-ge
"2"
]
;
then
_err
"Here is the curl dump log:"
_err
"
$(
cat
"
$_CURL_DUMP
"
)
"
fi
fi
else
_debug
"WGET"
"
$WGET
"
...
...
@@ -986,10 +990,10 @@ _initpath() {
WGET
=
"
$WGET
-d "
fi
dp
=
"
$LE_WORKING_DIR
/curl.dump"
_CURL_DUMP
=
"
$LE_WORKING_DIR
/curl.dump"
CURL
=
"curl -L --silent"
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-ge
"2"
]
;
then
CURL
=
"
$CURL
--trace-ascii
$
dp
"
CURL
=
"
$CURL
--trace-ascii
$
_CURL_DUMP
"
fi
if
[
"
$Le_Insecure
"
]
;
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