summaryrefslogtreecommitdiffstats
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-12-03 16:34:15 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-02-09 17:57:41 +0100
commit15d660fb418a6017fdf416bd0f92b6e268543383 (patch)
tree00b231f86cd8faa1206238810b0b4193854f0bff /src/tmpfiles/tmpfiles.c
parenttmpfiles: split out helper to open and read a "config file" (diff)
downloadsystemd-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