monitor: s/write()/lxc_write_nointr()/g

parent 08d7befc
...@@ -122,7 +122,7 @@ static void lxc_monitor_fifo_send(struct lxc_msg *msg, const char *lxcpath) ...@@ -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);
......
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