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) {
log_parse_environment();
log_open();
+ umask(0022);
+
parse_proc_cmdline();
test_files();
if (arg_skip)
return 0;
- if (access("/dev/.run/systemd/quotacheck", F_OK) < 0)
+ if (access("/run/systemd/quotacheck", F_OK) < 0)
return 0;
}