summaryrefslogtreecommitdiff
path: root/src/condition.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/condition.c')
-rw-r--r--src/condition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/condition.c b/src/condition.c
index f9202f6850..8c08be43e4 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) {