diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fsck/fsck.c | 9 | ||||
-rw-r--r-- | src/quotacheck/quotacheck.c | 7 |
2 files changed, 3 insertions, 13 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 4ec8989a3f..c8dea245c8 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -98,16 +98,11 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat } } -#if HAVE_SYSV_COMPAT - else if (streq(key, "fastboot") && !value) { - log_warning("Please pass 'fsck.mode=skip' rather than 'fastboot' on the kernel command line."); + else if (streq(key, "fastboot") && !value) arg_skip = true; - } else if (streq(key, "forcefsck") && !value) { - log_warning("Please pass 'fsck.mode=force' rather than 'forcefsck' on the kernel command line."); + else if (streq(key, "forcefsck") && !value) arg_force = true; - } -#endif return 0; } diff --git a/src/quotacheck/quotacheck.c b/src/quotacheck/quotacheck.c index d46f280bf4..63940142ac 100644 --- a/src/quotacheck/quotacheck.c +++ b/src/quotacheck/quotacheck.c @@ -36,14 +36,9 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat arg_skip = true; else log_warning("Invalid quotacheck.mode= value, ignoring: %s", value); - } -#if HAVE_SYSV_COMPAT - else if (streq(key, "forcequotacheck") && !value) { - log_warning("Please use 'quotacheck.mode=force' rather than 'forcequotacheck' on the kernel command line. Proceeding anyway."); + } else if (streq(key, "forcequotacheck") && !value) arg_force = true; - } -#endif return 0; } |