]> git.ipfire.org Git - thirdparty/systemd.git/commit
dropin: let's reduce duplicate a bit
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Feb 2017 19:08:58 +0000 (20:08 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Feb 2017 19:08:58 +0000 (20:08 +0100)
commita09d3eafac72435e87ad34a4129a4c414b684e3e
treec0b6d7ec2cea571b5ef87520fe9f483d7f93b2da
parent96bb2fd8bdd0533399ab3798ea0b23548f81b667
dropin: let's reduce duplicate a bit

After generating the template name we can shortcut things and just call
unit_file_find_dirs() from inside itself, just with the new name and
save a good number of duplicate lines.
src/shared/dropin.c