Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
6ded1d6d
Commit
6ded1d6d
authored
Jan 27, 2020
by
Marcus Nordenberg
Committed by
Esteban Blanc
Dec 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rt_ini: Don't ignore SIGCHLD signal
(cherry picked from commit 383b6b5669d1f9f9ee200e5c26a2bccdda1c8c03)
parent
da49cef0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/exe/rt_ini/src/rt_ini.c
src/exe/rt_ini/src/rt_ini.c
+1
-3
No files found.
src/exe/rt_ini/src/rt_ini.c
View file @
6ded1d6d
...
...
@@ -1698,9 +1698,6 @@ static void daemonize()
if
(
setsid
()
<
0
)
exit
(
EXIT_FAILURE
);
// Ignore any signals from children
signal
(
SIGCHLD
,
SIG_IGN
);
// Second fork
pid
=
fork
();
if
(
pid
<
0
)
...
...
@@ -1720,4 +1717,5 @@ static void daemonize()
stdin
=
fopen
(
"/dev/null"
,
"r"
);
stdout
=
fopen
(
"/dev/null"
,
"w+"
);
stderr
=
fopen
(
"/dev/null"
,
"w+"
);
}
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