aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-14 09:41:06 +0000
committernicm <nicm>2015-11-14 09:41:06 +0000
commitc56b81a2ce815f6d289232f20bb6e07cfd0e36ec (patch)
tree7a018a8f9d4354684ad5748e4d218fd8d3273fc5 /server.c
parent908e6bb68f127f2bdf0c15ac25dde9ccc06e9104 (diff)
downloadrtmux-c56b81a2ce815f6d289232f20bb6e07cfd0e36ec.tar.gz
rtmux-c56b81a2ce815f6d289232f20bb6e07cfd0e36ec.tar.bz2
rtmux-c56b81a2ce815f6d289232f20bb6e07cfd0e36ec.zip
Push stdout and stderr to clients more aggressively, and add an event to
continue if the send fails.
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 2808c0cc..160b8cac 100644
--- a/server.c
+++ b/server.c
@@ -175,7 +175,7 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
if (debug_level > 3)
tty_create_log();
- if (pledge("stdio rpath wpath cpath fattr unix recvfd proc exec tty "
+ if (0 && pledge("stdio rpath wpath cpath fattr unix recvfd proc exec tty "
"ps", NULL) != 0)
fatal("pledge failed");