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
b78a2c81
Commit
b78a2c81
authored
Jan 06, 2016
by
neil
Browse files
minor, check 80 port more gracefully
parent
29a02475
Changes
1
Show whitespace changes
Inline
Side-by-side
le.sh
View file @
b78a2c81
...
...
@@ -313,7 +313,7 @@ issue() {
_err
"Please install netstat first."
return
1
fi
netprc
=
"
$(
netstat
-
a
ntpl
|
grep
':80 '
)
"
netprc
=
"
$(
netstat
-ntpl
|
grep
':80 '
)
"
if
[
"
$netprc
"
]
;
then
_err
"
$netprc
"
_err
"tcp port 80 is already used by
$(
echo
"
$netprc
"
|
cut
-d
'/'
-f
2
)
"
...
...
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