diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-12-03 16:34:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-02-09 17:57:41 +0100 |
commit | 15d660fb418a6017fdf416bd0f92b6e268543383 (patch) | |
tree | 00b231f86cd8faa1206238810b0b4193854f0bff /src/tmpfiles/tmpfiles.c | |
parent | tmpfiles: split out helper to open and read a "config file" (diff) | |
download | systemd-15d660fb418a6017fdf416bd0f92b6e268543383.tar.xz systemd-15d660fb418a6017fdf416bd0f92b6e268543383.zip |
sysusers: convert to conf_file_read()
I was annoyed that systemd-sysusers doesn't print any info when it opens a
config file. Its read_config_file() started out the same as the one in tmpfiles,
and then they diverged. The one in tmpfiles has that logging, hence the rework
to use it here too and get better logging. The two programs should provide
similar functionality, so using a common helper will make it easier to extend
them in tandem later.
No functional change apart from the log info.
The userdata argument (Context) is moved to the last position as requested in
the review.
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
0 files changed, 0 insertions, 0 deletions