chiark / gitweb /
cmdline: we actually want to parse the kernel cmdline in VMs, just not in containers
[elogind.git] / src / quotacheck.c
index c7b20a60e6d5764ea37bfb5deda125f173936c26..ba12b27caa269215f50bdc1feabbb12991a609a6 100644 (file)
@@ -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) {