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]);