Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
97d8f4b7
Commit
97d8f4b7
authored
Apr 03, 2019
by
Felix Abecassis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix monitor pdeathsig handling
Signed-off-by:
Felix Abecassis
<
fabecassis@nvidia.com
>
parent
f08a5cc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
start.c
src/lxc/start.c
+1
-1
No files found.
src/lxc/start.c
View file @
97d8f4b7
...
@@ -1438,7 +1438,7 @@ static int do_start(void *data)
...
@@ -1438,7 +1438,7 @@ static int do_start(void *data)
}
}
if
(
handler
->
conf
->
monitor_signal_pdeath
!=
SIGKILL
)
{
if
(
handler
->
conf
->
monitor_signal_pdeath
!=
SIGKILL
)
{
ret
=
lxc_set_death_signal
(
handler
->
conf
->
monitor_signal_pdeath
,
0
);
ret
=
lxc_set_death_signal
(
handler
->
conf
->
monitor_signal_pdeath
,
handler
->
monitor_pid
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
SYSERROR
(
"Failed to set PR_SET_PDEATHSIG to %d"
,
SYSERROR
(
"Failed to set PR_SET_PDEATHSIG to %d"
,
handler
->
conf
->
monitor_signal_pdeath
);
handler
->
conf
->
monitor_signal_pdeath
);
...
...
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