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
dba26c32
Commit
dba26c32
authored
Feb 06, 2017
by
neil
Browse files
fix check for Mac nc command, it doesn't contain "openbsd", but it works.
parent
0ca5b799
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
dba26c32
...
...
@@ -1687,7 +1687,7 @@ _startserver() {
fi
if
[
"
$Le_Listen_V4$Le_Listen_V6$ncaddr
"
]
;
then
if
!
_contains
"
$nchelp
"
"
OpenBSD
"
;
then
if
!
_contains
"
$nchelp
"
"
-4
"
;
then
_err
"The nc doesn't support '-4', '-6' or local-address, please install 'netcat-openbsd' and try again."
_err
"See
$(
__green
$_PREPARE_LINK
)
"
return
1
...
...
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