mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
update-utmp: downgrade log level of ignored failure
(cherry picked from commit86da32ee0c
) (cherry picked from commit0b45822938
)
This commit is contained in:
parent
a3a892eaac
commit
47639e7d77
@ -239,8 +239,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)
|
||||
|
Loading…
Reference in New Issue
Block a user