Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2018-11-19 14:02:41 +00:00
8 changed files with 24 additions and 0 deletions

View File

@ -165,6 +165,8 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item)
cmd_pipe_pane_write_callback,
cmd_pipe_pane_error_callback,
wp);
if (wp->pipe_event == NULL)
fatalx("out of memory");
if (out)
bufferevent_enable(wp->pipe_event, EV_WRITE);
if (in)