diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-11-15 22:49:25 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-11-15 22:49:25 +0000 |
commit | 8213558cc77e6298e7f246ce3f45b5cd8af05a7b (patch) | |
tree | fddd40672e3a94d18c8955fa999213aad2054951 /client.c | |
parent | bb820fa761747a2c5342f61c4fbe5368565ef9b3 (diff) | |
parent | a582b622879714b0a100e8c7d3054f5a03476ca1 (diff) | |
download | rtmux-8213558cc77e6298e7f246ce3f45b5cd8af05a7b.tar.gz rtmux-8213558cc77e6298e7f246ce3f45b5cd8af05a7b.tar.bz2 rtmux-8213558cc77e6298e7f246ce3f45b5cd8af05a7b.zip |
Merge branch 'obsd-master'
Conflicts:
server.c
tmux.c
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -289,7 +289,7 @@ client_main(struct event_base *base, int argc, char **argv, int flags) * * "sendfd" is dropped later in client_dispatch_wait(). */ - if (0 && pledge("stdio unix sendfd proc exec tty", NULL) != 0) + if (pledge("stdio unix sendfd proc exec tty", NULL) != 0) fatal("pledge failed"); #endif @@ -545,7 +545,7 @@ client_dispatch_wait(struct imsg *imsg) * get the first message from the server. */ if (!pledge_applied) { - if (0 && pledge("stdio unix proc exec tty", NULL) != 0) + if (pledge("stdio unix proc exec tty", NULL) != 0) fatal("pledge failed"); pledge_applied = 1; }; |