Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
770dc4b2
Commit
770dc4b2
authored
Apr 12, 2016
by
neil
Browse files
expose the error
parent
dca09ded
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
770dc4b2
...
...
@@ -660,12 +660,12 @@ _stopserver(){
if
[[
"
$(
ps |
grep
"
$pid
"
)
"
]]
;
then
_debug
"Found proc process, kill it."
kill
-s
9
$pid
>
/dev/null
2>&1
kill
-s
9
$pid
>
/dev/null
fi
for
ncid
in
$(
ps |
grep
nc |
cut
-d
" "
-f
1
)
;
do
_debug
"kill
$ncid
"
kill
-s
9
$ncid
>
/dev/null
2>&1
kill
-s
9
$ncid
>
/dev/null
done
_get
"http://localhost:
$Le_HTTPPort
"
>
/dev/null 2>
$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