mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
run(): Drop extra sig_unblock()
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
94c0d1b833
commit
4362971c6a
1 file changed
-2
@@ -107,8 +107,6 @@ int run(char *cmd)
|
|||||||
if (0 == pid) {
|
if (0 == pid) {
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
/* Reset signal handlers that were set by the parent process */
|
|
||||||
sig_unblock();
|
|
||||||
setsid();
|
setsid();
|
||||||
|
|
||||||
/* Always redirect stdio for run() */
|
/* Always redirect stdio for run() */
|
||||||
|
|||||||
Reference in new issue
Block a user