projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c40ab2
)
update-utmp: downgrade log level of ignored failure
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 6 Apr 2023 19:34:54 +0000
(
04:34
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 24 May 2023 11:06:10 +0000
(20:06 +0900)
src/update-utmp/update-utmp.c
patch
|
blob
|
history
diff --git
a/src/update-utmp/update-utmp.c
b/src/update-utmp/update-utmp.c
index e6739db1c32ed704ea4ebcadc0f12c92b46dc847..5656ca2761bec32491b3e1e1ed52c1e72fbecb70 100644
(file)
--- 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)