diff options
author | Michael Biebl <biebl@debian.org> | 2014-09-04 17:08:06 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2014-09-04 17:08:06 +0200 |
commit | e842803ae5f3f162fa51f30787c3b2423e3826cf (patch) | |
tree | 8c07406c0ed6bbef2f5bc26241d09c0beab5901c /src/quotacheck | |
parent | 60f067b41061282b2cd5c4c10935910db9283c80 (diff) | |
download | systemd-e842803ae5f3f162fa51f30787c3b2423e3826cf.tar.gz |
Imported Upstream version 215
Diffstat (limited to 'src/quotacheck')
-rw-r--r-- | src/quotacheck/quotacheck.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quotacheck/quotacheck.c b/src/quotacheck/quotacheck.c index efd6e18308..ed95b48c63 100644 --- a/src/quotacheck/quotacheck.c +++ b/src/quotacheck/quotacheck.c @@ -42,10 +42,9 @@ static int parse_proc_cmdline_item(const char *key, const char *value) { else if (streq(value, "skip")) arg_skip = true; else - log_warning("Invalid quotacheck.mode= parameter. Ignoring."); + log_warning("Invalid quotacheck.mode= parameter '%s'. Ignoring.", value); + } - } else if (startswith(key, "quotacheck.")) - log_warning("Invalid quotacheck parameter. Ignoring."); #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."); @@ -57,6 +56,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value) { } 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."); |