mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
virt: reference correct file path in log message
This commit is contained in:
parent
6f5cf88009
commit
5a8d00e8ca
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user