summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-15 22:49:25 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-15 22:49:25 +0000
commit8213558cc77e6298e7f246ce3f45b5cd8af05a7b (patch)
treefddd40672e3a94d18c8955fa999213aad2054951 /client.c
parentbb820fa761747a2c5342f61c4fbe5368565ef9b3 (diff)
parenta582b622879714b0a100e8c7d3054f5a03476ca1 (diff)
Merge branch 'obsd-master'
Conflicts: server.c tmux.c
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index f3724d17..ccc58fb4 100644
--- a/client.c
+++ b/client.c
@@ -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;
};