commit | a6f4464571f516c44af731b033e557671bcf8ca5 | [log] [tgz] |
---|---|---|
author | Ryan Gonzalez <rymg19@gmail.com> | Sun Jan 06 18:12:31 2019 -0600 |
committer | Ryan Gonzalez <rymg19@gmail.com> | Tue Jan 08 14:30:15 2019 -0600 |
tree | 54c46bb1e010aa142ffb2f3066de64bb7dbe81b2 | |
parent | 609d34736fc69ce3bf261eddd1948fe34025923a [diff] [blame] |
tmpfiles: Make C still copy if the destination directory is empty Fixes #11287.
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 19225f8..03a9e1d 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c
@@ -1463,7 +1463,7 @@ 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;