]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: access login.noauth file directly
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 8 Oct 2023 18:22:47 +0000 (20:22 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 10 Oct 2023 16:55:32 +0000 (18:55 +0200)
commit601686e833bae3a15d6a6ca79b952df923fd552e
treeddf63585bd0664cc229b2fbebb5154b510fdb460
parentea55bf64b231726d7e0a1067b6bbb130524185b6
login: access login.noauth file directly

There is no need to scan a directory if we already know the filename
we are looking for.

While at it, close resources afterwards.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
login-utils/login.c