]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: silence a useless warning
authorJouke Witteveen <j.witteveen@gmail.com>
Fri, 6 Dec 2019 10:06:03 +0000 (11:06 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 6 Dec 2019 11:40:55 +0000 (12:40 +0100)
commit1c788737d74d43e726842a76ed195191946929ca
tree6a99079b1415fe14e865726c8bd7ece3ba12ecdc
parent62dc77f3a23a24362695f0bd2e10b0a82d97c5c6
su: silence a useless warning

When the requested shell matches the restricted shell, there is no reason
to issue a warning, since we will be doing precisely as requested.

Signed-off-by: Jouke Witteveen <j.witteveen@gmail.com>
login-utils/su-common.c