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

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-07-30 00:00:00 +02:00
parent 1fabf7d4ca
commit 2a71131d33
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

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