From: Christian Brauner Date: Sun, 29 Jul 2018 22:00:00 +0000 (+0200) Subject: monitor: s/read()/lxc_read_nointr()/g X-Git-Tag: lxc-3.1.0~185^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a71131d33f6bb17207d5b52a67592f27a0e0a7a;p=thirdparty%2Flxc.git monitor: s/read()/lxc_read_nointr()/g Signed-off-by: Christian Brauner --- diff --git a/src/lxc/monitor.c b/src/lxc/monitor.c index d9f10c40b..c35b5e13f 100644 --- a/src/lxc/monitor.c +++ b/src/lxc/monitor.c @@ -348,7 +348,7 @@ int lxc_monitord_spawn(const char *lxcpath) * synced with the child process. the if-empty-statement * construct is to quiet the warn-unused-result warning. */ - if (read(pipefd[0], &c, 1)) + if (lxc_read_nointr(pipefd[0], &c, 1)) ; close(pipefd[0]);