From 2a71131d33f6bb17207d5b52a67592f27a0e0a7a Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 30 Jul 2018 00:00:00 +0200 Subject: [PATCH] monitor: s/read()/lxc_read_nointr()/g Signed-off-by: Christian Brauner --- src/lxc/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);