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
399306a1
Commit
399306a1
authored
Apr 01, 2016
by
neil
Browse files
fix for Proxmox
parent
b7604c06
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
399306a1
...
@@ -596,7 +596,7 @@ _startserver() {
...
@@ -596,7 +596,7 @@ _startserver() {
nchelp
=
"
$(
nc
-h
2>&1
)
"
nchelp
=
"
$(
nc
-h
2>&1
)
"
if
echo
"
$nchelp
"
|
grep
"
\-
q
"
>
/dev/null
;
then
if
echo
"
$nchelp
"
|
grep
"
\-
q
[ ,]
"
>
/dev/null
;
then
_NC
=
"nc -q 1 -l"
_NC
=
"nc -q 1 -l"
else
else
if
echo
"
$nchelp
"
|
grep
"GNU netcat"
>
/dev/null
&&
echo
"
$nchelp
"
|
grep
"
\-
c,
\-\-
close"
>
/dev/null
;
then
if
echo
"
$nchelp
"
|
grep
"GNU netcat"
>
/dev/null
&&
echo
"
$nchelp
"
|
grep
"
\-
c,
\-\-
close"
>
/dev/null
;
then
...
...
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