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
810c129c
Commit
810c129c
authored
Feb 28, 2017
by
neilpang
Browse files
minor fix error message
parent
f731a4c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
810c129c
...
@@ -1546,7 +1546,7 @@ _post() {
...
@@ -1546,7 +1546,7 @@ _post() {
_ret
=
"
$?
"
_ret
=
"
$?
"
if
[
"
$_ret
"
=
"8"
]
;
then
if
[
"
$_ret
"
=
"8"
]
;
then
_ret
=
0
_ret
=
0
_debug
"wget returns 8, the server returns a 'Bad request' respons, lets process the response later."
_debug
"wget returns 8, the server returns a 'Bad request' respons
e
, lets process the response later."
fi
fi
if
[
"
$_ret
"
!=
"0"
]
;
then
if
[
"
$_ret
"
!=
"0"
]
;
then
_err
"Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code:
$_ret
"
_err
"Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code:
$_ret
"
...
@@ -1611,7 +1611,7 @@ _get() {
...
@@ -1611,7 +1611,7 @@ _get() {
ret
=
$?
ret
=
$?
if
[
"
$ret
"
=
"8"
]
;
then
if
[
"
$ret
"
=
"8"
]
;
then
ret
=
0
ret
=
0
_debug
"wget returns 8, the server returns a 'Bad request' respons, lets process the response later."
_debug
"wget returns 8, the server returns a 'Bad request' respons
e
, lets process the response later."
fi
fi
if
[
"
$ret
"
!=
"0"
]
;
then
if
[
"
$ret
"
!=
"0"
]
;
then
_err
"Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code:
$ret
"
_err
"Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code:
$ret
"
...
...
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