]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: ignore return of audit_log_acct_message
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 19 Jan 2024 02:12:21 +0000 (03:12 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 19 Jan 2024 02:12:21 +0000 (03:12 +0100)
commit5a0f319f1ed37dfc587cf9a227e7ff06e16bdb1f
tree0144ca245e50f3d71f018c6bbead9f7998e0e9fe
parent8531c8bc5389a139d80f54abc4c1f12889d3d895
login: ignore return of audit_log_acct_message

The function is marked with `warn_unused_result` so handle the return
value. Failures of `audit_open()` are also silently ignored so do the
same for `audit_log_acct_message()` itself.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
login-utils/login.c