diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-09-23 21:07:41 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-10 16:40:31 +0100 |
commit | a424958aa6a95ce037976a9b065e4c88e97992c7 (patch) | |
tree | 2920f91be1a6bcba6485634fe1a4e87e21a16fea /src/import | |
parent | ddfdf86f813679a3bfce7f5a50a8143d1bd720c4 (diff) | |
download | systemd-a424958aa6a95ce037976a9b065e4c88e97992c7.tar.gz |
copy: Support passing a deny list of files/directories to not copy
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/pull-tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/pull-tar.c b/src/import/pull-tar.c index cf18461db3..d3a1179ebc 100644 --- a/src/import/pull-tar.c +++ b/src/import/pull-tar.c @@ -245,7 +245,7 @@ static int tar_pull_make_local_copy(TarPull *i) { BTRFS_SNAPSHOT_FALLBACK_DIRECTORY| BTRFS_SNAPSHOT_RECURSIVE); else - r = copy_tree(i->final_path, t, UID_INVALID, GID_INVALID, COPY_REFLINK|COPY_HARDLINKS); + r = copy_tree(i->final_path, t, UID_INVALID, GID_INVALID, COPY_REFLINK|COPY_HARDLINKS, NULL); if (r < 0) return log_error_errno(r, "Failed to create local image: %m"); |