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
97147b59
Commit
97147b59
authored
Feb 18, 2019
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/2096
parent
a0ec5b18
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
97147b59
...
...
@@ -1188,7 +1188,7 @@ _ss() {
if
_exists
"netstat"
;
then
_debug
"Using: netstat"
if
netstat
-h
2>&1 |
grep
"
\-
p proto"
>
/dev/null
;
then
if
netstat
-h
elp
2>&1 |
grep
"
\-
p proto"
>
/dev/null
;
then
#for windows version netstat tool
netstat
-an
-p
tcp |
grep
"LISTENING"
|
grep
":
$_port
"
else
...
...
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