diff options
author | Ryan Gonzalez <rymg19@gmail.com> | 2019-01-06 18:12:31 -0600 |
---|---|---|
committer | Ryan Gonzalez <rymg19@gmail.com> | 2019-01-08 14:30:15 -0600 |
commit | a6f4464571f516c44af731b033e557671bcf8ca5 (patch) | |
tree | 54c46bb1e010aa142ffb2f3066de64bb7dbe81b2 /src/tmpfiles | |
parent | 609d34736fc69ce3bf261eddd1948fe34025923a (diff) | |
download | systemd-a6f4464571f516c44af731b033e557671bcf8ca5.tar.gz |
tmpfiles: Make C still copy if the destination directory is empty
Fixes #11287.
Diffstat (limited to 'src/tmpfiles')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 19225f8cfd..03a9e1d1f0 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1463,7 +1463,7 @@ static int copy_files(Item *i) { dfd, bn, i->uid_set ? i->uid : UID_INVALID, i->gid_set ? i->gid : GID_INVALID, - COPY_REFLINK); + COPY_REFLINK | COPY_MERGE_EMPTY); if (r < 0) { struct stat a, b; |