aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index 9baa8183..aa827178 100644
--- a/tmux.c
+++ b/tmux.c
@@ -255,8 +255,8 @@ main(int argc, char **argv)
if (shell_cmd != NULL && argc != 0)
usage();
- if (pledge("stdio rpath wpath cpath flock fattr unix sendfd recvfd "
- "proc exec tty ps", NULL) != 0)
+ if (pledge("stdio rpath wpath cpath flock fattr unix getpw sendfd "
+ "recvfd proc exec tty ps", NULL) != 0)
err(1, "pledge");
/*