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
233e8a20
Commit
233e8a20
authored
Apr 13, 2016
by
neil
Browse files
kill nc
parent
770dc4b2
Changes
1
Show whitespace changes
Inline
Side-by-side
le.sh
View file @
233e8a20
...
@@ -663,7 +663,7 @@ _stopserver(){
...
@@ -663,7 +663,7 @@ _stopserver(){
kill
-s
9
$pid
>
/dev/null
kill
-s
9
$pid
>
/dev/null
fi
fi
for
ncid
in
$(
ps |
grep
nc |
cut
-d
" "
-f
1
)
;
do
for
ncid
in
$(
echo
$(
ps |
grep
nc
)
|
cut
-d
" "
-f
1
)
;
do
_debug
"kill
$ncid
"
_debug
"kill
$ncid
"
kill
-s
9
$ncid
>
/dev/null
kill
-s
9
$ncid
>
/dev/null
done
done
...
...
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