diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-06 21:34:54 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-24 13:06:10 +0200 |
commit | 86da32ee0c081d5d740ed5ff2d1d58c0d697c324 (patch) | |
tree | d04e764e588c4bd15481c59523c5219505bb36b2 /src/update-utmp | |
parent | update-utmp: swap q <-> r (diff) | |
download | systemd-86da32ee0c081d5d740ed5ff2d1d58c0d697c324.tar.xz systemd-86da32ee0c081d5d740ed5ff2d1d58c0d697c324.zip |
update-utmp: downgrade log level of ignored failure
Diffstat (limited to 'src/update-utmp')
-rw-r--r-- | src/update-utmp/update-utmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index e6739db1c3..5656ca2761 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -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) |