mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-26 14:03:17 +00:00
userdel: Fix syslog message
Actually log the user name as done with stderr message. Reviewed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
parent
f6d9e5c019
commit
9f8cf33704
@ -820,7 +820,7 @@ static bool remove_mailbox (void)
|
||||
fprintf (stderr,
|
||||
_("%s: %s not owned by %s, not removing\n"),
|
||||
Prog, mailfile, user_name);
|
||||
SYSLOG((LOG_ERR, "%s not owned by %s, not removed", mailfile, strerrno()));
|
||||
SYSLOG((LOG_ERR, "%s not owned by %s, not removed", mailfile, user_name));
|
||||
#ifdef WITH_AUDIT
|
||||
audit_logger (AUDIT_DEL_USER,
|
||||
"delete-mail-file",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user