]> git.ipfire.org Git - thirdparty/systemd.git/commit
varlink: introduce varlink_call_and_log() which calls and then logs an error 30980/head
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Jan 2024 10:09:05 +0000 (11:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Jan 2024 15:20:54 +0000 (16:20 +0100)
commit71d0ecc5b9e0a2d451fb1af0f6bf7af02d0286da
tree290d3ae9c8cbffd4ea7cf35fb54d617896a84ef3
parent0444391d1ea61d951020ccc1b020b30f3cf64510
varlink: introduce varlink_call_and_log() which calls and then logs an error

As it turns out we do this in a similar way at various times (and
sometimes incorrectly), hence add a common implementation to share the
code and fix the incorrect behaviour.
src/journal/journalctl.c
src/network/networkctl.c
src/resolve/resolvectl.c
src/shared/varlink.c
src/shared/varlink.h
src/varlinkctl/varlinkctl.c