diff options
author | nicm <nicm> | 2015-11-15 14:32:48 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-11-15 14:32:48 +0000 |
commit | a582b622879714b0a100e8c7d3054f5a03476ca1 (patch) | |
tree | 75526feb1593c2c6a20b5a0658daee8bd8128ade /client.c | |
parent | 14d90e4901ef943e57e5dada7a0f53b2dc208571 (diff) | |
download | rtmux-a582b622879714b0a100e8c7d3054f5a03476ca1.tar.gz rtmux-a582b622879714b0a100e8c7d3054f5a03476ca1.tar.bz2 rtmux-a582b622879714b0a100e8c7d3054f5a03476ca1.zip |
Accidentally turned off pledge, turn it back on.
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"); /* Free stuff that is not used in the client. */ @@ -541,7 +541,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; }; |