libcapsicum: limit stderr

Don't limit stdout twice, instead limit stderr.

Pointed out by:	rpokala@
This commit is contained in:
oshogbo 2016-10-04 13:33:43 +00:00
parent 3bb796bc2c
commit 48c0382c90

View File

@ -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);
}