chiark / gitweb /
systemctl: add /dev/initctl fallback
[elogind.git] / src / automount.c
index 3d85605fb4f46a7cd7f110b278716bd99deb31d0..262a47da4efe5fdc79b5579b37f5a78968a0d9da 100644 (file)
@@ -708,7 +708,7 @@ static void automount_fd_event(Unit *u, int fd, uint32_t events, Watch *w) {
                 goto fail;
         }
 
-        if ((l = loop_read(a->pipe_fd, &packet, sizeof(packet))) != sizeof(packet)) {
+        if ((l = loop_read(a->pipe_fd, &packet, sizeof(packet), true)) != sizeof(packet)) {
                 log_error("Invalid read from pipe: %s", l < 0 ? strerror(-l) : "short read");
                 goto fail;
         }