diff options
Diffstat (limited to 'src/fsck.c')
-rw-r--r-- | src/fsck.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fsck.c b/src/fsck.c index b5d8764e00..a3c83c3c24 100644 --- a/src/fsck.c +++ b/src/fsck.c @@ -106,6 +106,9 @@ static int parse_proc_cmdline(void) { int r; size_t l; + if (detect_virtualization(NULL) > 0) + return 0; + if ((r = read_one_line_file("/proc/cmdline", &line)) < 0) { log_warning("Failed to read /proc/cmdline, ignoring: %s", strerror(-r)); return 0; |