use lxc_read_nointr() and lxc_write_nointr()
Using EPOLLHUP to determine when to exit the loop is unreliable. Let's exit
clean when read() returns -1 && errno != EINTR or 0.
Signed-off-by:
Christian Brauner <christian.brauner@mailbox.org>
Showing
Please
register
or
sign in
to comment