]> git.ipfire.org Git - thirdparty/util-linux.git/commit
nologin: silently ignore well known shell command-line options
authorSami Kerola <kerolasa@iki.fi>
Sun, 17 Nov 2019 08:33:04 +0000 (08:33 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sun, 17 Nov 2019 08:33:04 +0000 (08:33 +0000)
commitbeb61b07c20ab902fec883a4bd087c45d2742dea
tree7f1b6c9939b714382ca78c679fe30cc938e70bb5
parent4631edaee2bce9030c4e6169db08e090fe56c7e7
nologin: silently ignore well known shell command-line options

nologin is typically used in /etc/passwd as a shell replacement.  Hence it
is reasonable to ignore well known command-line options silently to avoid
unwanted ugly error messages.

Addresses: https://github.com/karelzak/util-linux/issues/895
Requested-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/nologin.8
login-utils/nologin.c