forked from cory/tildefriends
Fix fix fix tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4852 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -398,8 +398,7 @@ static void _shed_privileges()
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
/* How do I unveil nothing? */
|
||||
if (unveil("/dev/null", "r") ||
|
||||
unveil(NULL, NULL))
|
||||
if (unveil("/dev/null", "r") || unveil(NULL, NULL))
|
||||
{
|
||||
perror("unveil");
|
||||
exit(-1);
|
||||
|
Reference in New Issue
Block a user