Skip to content

Commit

Permalink
update-utmp: downgrade log level of ignored failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwata committed May 24, 2023
1 parent 4c40ab2 commit 86da32e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/update-utmp/update-utmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ static int run(int argc, char *argv[]) {
/* If the kernel lacks netlink or audit support, don't worry about it. */
c.audit_fd = audit_open();
if (c.audit_fd < 0)
log_full_errno(IN_SET(errno, EAFNOSUPPORT, EPROTONOSUPPORT) ? LOG_DEBUG : LOG_ERR,
errno, "Failed to connect to audit log: %m");
log_full_errno(IN_SET(errno, EAFNOSUPPORT, EPROTONOSUPPORT) ? LOG_DEBUG : LOG_WARNING,
errno, "Failed to connect to audit log, ignoring: %m");
#endif
r = bus_connect_system_systemd(&c.bus);
if (r < 0)
Expand Down

0 comments on commit 86da32e

Please sign in to comment.