monitor: s/read()/lxc_read_nointr()/g

parent 3706a050
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment