mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request #755 from trasz/capsicum
Get rid of the zombies in Capsicum capability mode.
This commit is contained in:
commit
fc8c15fcd7
@ -403,6 +403,13 @@ static void cmd_capsicum_enter(void)
|
||||
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();
|
||||
if (error != 0) {
|
||||
signal_emit("capability mode failed", 1, strerror(errno));
|
||||
|
Loading…
Reference in New Issue
Block a user