tmpfiles: shortcut path_set_perms() if there's nothing to do
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Jan 2018 20:10:27 +0000 (21:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Jan 2018 20:19:00 +0000 (21:19 +0100)
commit59793c8f2e29507c2f6cd8bd1e8785bfbefd2952
tree5b6a74fd5c56ab24ecab38db5c89042268441c4f
parent51207ca134716a0dee5fd763a6c39204be849eb1
tmpfiles: shortcut path_set_perms() if there's nothing to do

No need to open() anything in that case, hence don't.
src/tmpfiles/tmpfiles.c