[systemd-commits] src/condition.c
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Sep 19 14:51:24 PDT 2011
src/condition.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a373b0e7bc24b8fffe0ba69e8b92eebf2740332e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Sep 19 23:51:15 2011 +0200
condition: opt out of /proc/cmdline parsing only when running in a container, not in a VM
diff --git a/src/condition.c b/src/condition.c
index f9202f6..8c08be4 100644
--- a/src/condition.c
+++ b/src/condition.c
@@ -75,7 +75,7 @@ static bool test_kernel_command_line(const char *parameter) {
assert(parameter);
- if (detect_virtualization(NULL) > 0)
+ if (detect_container(NULL) > 0)
return false;
if ((r = read_one_line_file("/proc/cmdline", &line)) < 0) {
More information about the systemd-commits
mailing list