diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-06 19:36:06 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-06 19:36:06 +0200 |
commit | 03aea2aecd6f9d2193af5d6cf866063da8d47ad5 (patch) | |
tree | 221f982096dcf06a37b13318dec63075ced5d415 /src/quotacheck.c | |
parent | 4466194c43a25bc51b21226f04245131e698bb3f (diff) |
cmdline: we actually want to parse the kernel cmdline in VMs, just not in containers
Diffstat (limited to 'src/quotacheck.c')
-rw-r--r-- | src/quotacheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quotacheck.c b/src/quotacheck.c index c7b20a60e6..ba12b27caa 100644 --- a/src/quotacheck.c +++ b/src/quotacheck.c @@ -35,7 +35,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) { |