summaryrefslogtreecommitdiff
path: root/src/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsck.c')
-rw-r--r--src/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsck.c b/src/fsck.c
index 7b809b32b9..19ca75311b 100644
--- a/src/fsck.c
+++ b/src/fsck.c
@@ -106,7 +106,7 @@ static int parse_proc_cmdline(void) {
int r;
size_t l;
- if (detect_virtualization(NULL) > 0)
+ if (detect_container(NULL) > 0)
return 0;
if ((r = read_one_line_file("/proc/cmdline", &line)) < 0) {