- /* Hint: we don't invoke KDBUS_CMD_MSG_FREE here, as we only
- * PEEKed the message, and didn't ask for it to be dropped
- * from the queue. */
+ cmd_free.offset = cmd_recv.offset;
+ if (ioctl(n->starter_fd, KDBUS_CMD_FREE, &cmd_free) < 0)
+ log_unit_warning(UNIT(n)->id, "Failed to free peeked message, ignoring: %m");