mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #755 from trasz/capsicum
Get rid of the zombies in Capsicum capability mode.
This commit is contained in:
commit
fc8c15fcd7
1 changed files with 7 additions and 0 deletions
|
|
@ -403,6 +403,13 @@ static void cmd_capsicum_enter(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* XXX: We should use pdwait(2) to wait for children. Unfortunately
|
||||||
|
* it's not implemented yet. Thus the workaround, to get rid
|
||||||
|
* of the zombies at least.
|
||||||
|
*/
|
||||||
|
signal(SIGCHLD, SIG_IGN);
|
||||||
|
|
||||||
error = cap_enter();
|
error = cap_enter();
|
||||||
if (error != 0) {
|
if (error != 0) {
|
||||||
signal_emit("capability mode failed", 1, strerror(errno));
|
signal_emit("capability mode failed", 1, strerror(errno));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue