]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: introduce create_file() which deals with 'f'/'F' exclusively
authorFranck Bui <fbui@suse.com>
Fri, 13 Apr 2018 07:19:24 +0000 (09:19 +0200)
committerFranck Bui <fbui@suse.com>
Mon, 30 Jul 2018 12:44:58 +0000 (14:44 +0200)
commit31c84ff11ea22b0bc1b2459db09e4d2aa66bdf2a
treef3bf6671b787263f8139e987df9cc12677a2d604
parentb206ac8e54a3656b681b2f6031c7cd0feb7f5e26
tmpfiles: introduce create_file() which deals with 'f'/'F' exclusively

write_one_file() only deals with the 'w' command and 'f'/'F' are now handled by
a new function create_file().

This is primarly done because 'w' is allowed to operate on any kind of files,
not just regular ones.
src/tmpfiles/tmpfiles.c