mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 11:39:04 +00:00
monitor: s/write()/lxc_write_nointr()/g
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
2a71131d33
commit
802e609aa9
@ -122,7 +122,7 @@ static void lxc_monitor_fifo_send(struct lxc_msg *msg, const char *lxcpath)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = write(fd, msg, sizeof(*msg));
|
ret = lxc_write_nointr(fd, msg, sizeof(*msg));
|
||||||
if (ret != sizeof(*msg)) {
|
if (ret != sizeof(*msg)) {
|
||||||
close(fd);
|
close(fd);
|
||||||
SYSERROR("Failed to write to monitor fifo \"%s\".", fifo_path);
|
SYSERROR("Failed to write to monitor fifo \"%s\".", fifo_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user