mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 15:29:56 +00:00
monitor: s/read()/lxc_read_nointr()/g
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
1fabf7d4ca
commit
2a71131d33
@ -348,7 +348,7 @@ int lxc_monitord_spawn(const char *lxcpath)
|
|||||||
* synced with the child process. the if-empty-statement
|
* synced with the child process. the if-empty-statement
|
||||||
* construct is to quiet the warn-unused-result warning.
|
* 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]);
|
close(pipefd[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user