]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/execute.c
execute: rework load_credential() not to take an ExecLoadCredential object we must...
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Apr 2022 16:43:02 +0000 (18:43 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2022 09:32:46 +0000 (11:32 +0200)
commit10b44e1dc1e4263468cda5f8e05008fc737286fc
treeed9d1e389f492d12de47a2da220af7d3fb38299b
parent9a6994e9718f9d79caeb3441df541d45ad97d7b8
execute: rework load_credential() not to take an ExecLoadCredential object we must synthesize

Let's just simplify the logic and pass the fields we need as regular
arguments, even if that means the function now has a lot. It's otherwise
really weird that we have to fake a local ExecLoadCredential from the
real one.
src/core/execute.c