aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c
index 052ca4d9..ddc59c0d 100644
--- a/server.c
+++ b/server.c
@@ -176,8 +176,8 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
tty_create_log();
#ifdef __OpenBSD__
- if (pledge("stdio rpath wpath cpath fattr unix recvfd proc exec tty "
- "ps", NULL) != 0)
+ if (pledge("stdio rpath wpath cpath fattr unix getpw recvfd proc exec "
+ "tty ps", NULL) != 0)
fatal("pledge failed");
#endif