diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-18 01:35:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-18 01:36:28 +0100 |
commit | f2cbe59e113f08549949a76ac5b9b3972df4cc30 (patch) | |
tree | 8c1210688113dae9dab2ac088a043c1f6f3692e4 /src/shared/btrfs-util.c | |
parent | 20b63d12b533daf2e9b2936ffb03074861e1673e (diff) |
machinectl: add new commands for copying files from/to containers
Diffstat (limited to 'src/shared/btrfs-util.c')
-rw-r--r-- | src/shared/btrfs-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/btrfs-util.c b/src/shared/btrfs-util.c index fcf543a465..492d7fc777 100644 --- a/src/shared/btrfs-util.c +++ b/src/shared/btrfs-util.c @@ -122,7 +122,7 @@ int btrfs_subvol_snapshot(const char *old_path, const char *new_path, bool read_ if (r < 0) return r; - r = copy_tree_fd(old_fd, new_path, true); + r = copy_directory_fd(old_fd, new_path, true); if (r < 0) { btrfs_subvol_remove(new_path); return r; |