diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-01-11 21:09:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-01-11 21:10:55 +0100 |
commit | 79efcd02355b5d0b2b4caaac03fbf0a91aa157bd (patch) | |
tree | 5940460ecd515914faec53736e264efcf21043de /src/basic/virt.c | |
parent | b7ec9e719b01c01fcce5d6c622726c9c7579a07b (diff) | |
download | systemd-79efcd02355b5d0b2b4caaac03fbf0a91aa157bd.tar.gz |
virt: fix path mentioned in log message
Diffstat (limited to 'src/basic/virt.c')
-rw-r--r-- | src/basic/virt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/virt.c b/src/basic/virt.c index 96bf95ed41..3775bea4e6 100644 --- a/src/basic/virt.c +++ b/src/basic/virt.c @@ -512,7 +512,7 @@ int detect_container(void) { } } - /* 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) { @@ -520,7 +520,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-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. |