From: Christian Goeschel Ndjomouo Date: Thu, 25 Dec 2025 04:54:22 +0000 (-0500) Subject: nologin: ignore well-known shell command-line options in CI CHECK X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44859efdf9f7bf47caea0b85a638a1b8c2da57c7;p=thirdparty%2Futil-linux.git nologin: ignore well-known shell command-line options in CI CHECK Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/login-utils/nologin.c b/login-utils/nologin.c index 85ef3f002..1653c1f47 100644 --- a/login-utils/nologin.c +++ b/login-utils/nologin.c @@ -51,16 +51,15 @@ int main(int argc, char *argv[]) }; static const struct option longopts[] = { { "command", required_argument, NULL, 'c' }, - { "init-file", required_argument, NULL, OPT_INIT_FILE }, - { "interactive", no_argument, NULL, 'i' }, - { "login", no_argument, NULL, 'l' }, - { "noprofile", no_argument, NULL, OPT_NOPROFILE }, - { "norc", no_argument, NULL, OPT_NORC }, - { "posix", no_argument, NULL, OPT_POSIX }, - { "rcfile", required_argument, NULL, OPT_RCFILE }, - { "restricted", no_argument, NULL, 'r' }, + { "init-file", required_argument, NULL, OPT_INIT_FILE }, /* IGNORECHECK=yes */ + { "interactive", no_argument, NULL, 'i' }, /* IGNORECHECK=yes */ + { "login", no_argument, NULL, 'l' }, /* IGNORECHECK=yes */ + { "noprofile", no_argument, NULL, OPT_NOPROFILE }, /* IGNORECHECK=yes */ + { "norc", no_argument, NULL, OPT_NORC }, /* IGNORECHECK=yes */ + { "posix", no_argument, NULL, OPT_POSIX }, /* IGNORECHECK=yes */ + { "rcfile", required_argument, NULL, OPT_RCFILE }, /* IGNORECHECK=yes */ + { "restricted", no_argument, NULL, 'r' }, /* IGNORECHECK=yes */ { "help", no_argument, NULL, 'h' }, - { "version", no_argument, NULL, 'V' }, { NULL, 0, NULL, 0 } };