virt: reference correct file path in log message

This commit is contained in:
Lennart Poettering 2020-10-05 11:40:33 +02:00
parent 6f5cf88009
commit 5a8d00e8ca
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ int detect_container(void) {
goto translate_name;
}
if (!IN_SET(r, -ENOENT, 0))
return log_debug_errno(r, "Failed to read /run/systemd/container: %m");
return log_debug_errno(r, "Failed to read /run/systemd/container-manager: %m");
if (getpid_cached() == 1) {
/* If we are PID 1 we can just check our own environment variable, and that's authoritative.