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
c835ab02
Commit
c835ab02
authored
May 30, 2016
by
neil
Browse files
add more log
parent
39c8f79f
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
c835ab02
...
@@ -1431,6 +1431,7 @@ issue() {
...
@@ -1431,6 +1431,7 @@ issue() {
sleep
5
sleep
5
_debug
"checking"
_debug
"checking"
response
=
"
$(
_get
$uri
| _normalizeJson
)
"
response
=
"
$(
_get
$uri
| _normalizeJson
)
"
_debug2 response
"
$response
"
if
[
"
$?
"
!=
"0"
]
;
then
if
[
"
$?
"
!=
"0"
]
;
then
_err
"
$d
:Verify error:
$response
"
_err
"
$d
:Verify error:
$response
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
...
@@ -1448,7 +1449,7 @@ issue() {
...
@@ -1448,7 +1449,7 @@ issue() {
fi
fi
if
[
"
$status
"
=
"invalid"
]
;
then
if
[
"
$status
"
=
"invalid"
]
;
then
error
=
$(
echo
$response
| egrep
-o
'"error":{[^}]*}'
|
grep
-o
'"detail":"[^"]*"'
|
cut
-d
'"'
-f
4
)
error
=
"
$(
echo
$response
| egrep
-o
'"error":{[^}]*}'
|
grep
-o
'"detail":"[^"]*"'
|
cut
-d
'"'
-f
4
)
"
_err
"
$d
:Verify error:
$error
"
_err
"
$d
:Verify error:
$error
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearupwebbroot
"
$_currentRoot
"
"
$removelevel
"
"
$token
"
_clearup
_clearup
...
...
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