summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-14 11:38:30 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-14 11:38:30 +0000
commit7b749eff3510ccf173c029a92c266e91454ce600 (patch)
tree8194d8dcf4d3364360960c741a3266cb9a9d7101 /client.c
parent23266e8e095fb590543d309ae3c8e30fcd98d6b7 (diff)
parentc56b81a2ce815f6d289232f20bb6e07cfd0e36ec (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 ccc58fb4..f3724d17 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 (pledge("stdio unix sendfd proc exec tty", NULL) != 0)
+ if (0 && 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 (pledge("stdio unix proc exec tty", NULL) != 0)
+ if (0 && pledge("stdio unix proc exec tty", NULL) != 0)
fatal("pledge failed");
pledge_applied = 1;
};