}
}
- /* The container manager might have placed this in the /run/host hierarchy for us, which is best
+ /* The container manager might have placed this in the /run/host/ hierarchy for us, which is best
* because we can be consumed just like that, without special privileges. */
r = read_one_line_file("/run/host/container-manager", &m);
if (r > 0) {
goto translate_name;
}
if (!IN_SET(r, -ENOENT, 0))
- return log_debug_errno(r, "Failed to read /run/systemd/container-manager: %m");
+ return log_debug_errno(r, "Failed to read /run/host/container-manager: %m");
if (getpid_cached() == 1) {
/* If we are PID 1 we can just check our own environment variable, and that's authoritative.