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:
2024-02-17 15:33:08 +00:00
parent dca48fae36
commit 22bf046643
4 changed files with 14 additions and 7 deletions

View File

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