bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd This file is part of systemd.
0b0582a3aa10227767e359e693c4b43fec272388nd Copyright 2010 Lennart Poettering
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd systemd is free software; you can redistribute it and/or modify it
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd under the terms of the GNU Lesser General Public License as published by
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd the Free Software Foundation; either version 2.1 of the License, or
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd (at your option) any later version.
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd systemd is distributed in the hope that it will be useful, but
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd WITHOUT ANY WARRANTY; without even the implied warranty of
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd Lesser General Public License for more details.
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd You should have received a copy of the GNU Lesser General Public License
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd along with systemd; If not, see <http://www.gnu.org/licenses/>.
60ca0709311658bc8604806c62c6e33534921b3bndstatic int parse_proc_cmdline_item(const char *key, const char *value) {
arg_force = true;
arg_skip = true;
#ifdef HAVE_SYSV_COMPAT
log_warning("Please use 'quotacheck.mode=force' rather than 'forcequotacheck' on the kernel command line.");
arg_force = true;
#ifdef HAVE_SYSV_COMPAT
log_error("Please pass 'quotacheck.mode=force' on the kernel command line rather than creating /forcequotacheck on the root file system.");
arg_force = true;
return EXIT_FAILURE;
log_open();
test_files();
if (!arg_force) {
if (arg_skip)
return EXIT_SUCCESS;
return EXIT_SUCCESS;
if (pid < 0) {
return EXIT_FAILURE;
} else if (pid == 0) {
(void) reset_all_signal_handlers();
(void) reset_signal_mask();