diff options
author | Andy Wingo <wingo@pobox.com> | 2015-04-08 08:45:34 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-04-08 08:45:34 +0200 |
commit | a3b23257872fe2f8cf99aa2da008f55ada583bb3 (patch) | |
tree | 5e567add541f736045ca70199089cc423764d321 /src/quotacheck | |
parent | 31ad69aaf459ac5f4d52c604ec2df7cb0793708e (diff) |
Remove SysV compat
Diffstat (limited to 'src/quotacheck')
-rw-r--r-- | src/quotacheck/quotacheck.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/quotacheck/quotacheck.c b/src/quotacheck/quotacheck.c index 819706a72f..a7e47dd32f 100644 --- a/src/quotacheck/quotacheck.c +++ b/src/quotacheck/quotacheck.c @@ -43,24 +43,10 @@ static int parse_proc_cmdline_item(const char *key, const char *value) { log_warning("Invalid quotacheck.mode= parameter '%s'. Ignoring.", value); } -#ifdef HAVE_SYSV_COMPAT - else if (streq(key, "forcequotacheck") && !value) { - log_warning("Please use 'quotacheck.mode=force' rather than 'forcequotacheck' on the kernel command line."); - arg_force = true; - } -#endif - return 0; } static void test_files(void) { - -#ifdef HAVE_SYSV_COMPAT - if (access("/forcequotacheck", F_OK) >= 0) { - log_error("Please pass 'quotacheck.mode=force' on the kernel command line rather than creating /forcequotacheck on the root file system."); - arg_force = true; - } -#endif } int main(int argc, char *argv[]) { |