libcapsicum: limit stderr
Don't limit stdout twice, instead limit stderr. Pointed out by: rpokala@
This commit is contained in:
parent
3bb796bc2c
commit
48c0382c90
@ -96,7 +96,7 @@ caph_limit_stdio(void)
|
||||
{
|
||||
|
||||
if (caph_limit_stdin() == -1 || caph_limit_stdout() == -1 ||
|
||||
caph_limit_stdout() == -1) {
|
||||
caph_limit_stderr() == -1) {
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user