btrfs-util: expose SIGINT behaviour in snapshot copy fallback, too

This commit is contained in:
Lennart Poettering
2019-07-17 11:14:11 +02:00
parent 85559592a6
commit 07a30bb18a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1624,7 +1624,7 @@ int btrfs_subvol_snapshot_fd_full(
} else if (r < 0)
return r;
r = copy_directory_fd_full(old_fd, new_path, COPY_MERGE|COPY_REFLINK|COPY_SAME_MOUNT, progress_path, progress_bytes, userdata);
r = copy_directory_fd_full(old_fd, new_path, COPY_MERGE|COPY_REFLINK|COPY_SAME_MOUNT|(FLAGS_SET(flags, BTRFS_SNAPSHOT_SIGINT) ? COPY_SIGINT : 0), progress_path, progress_bytes, userdata);
if (r < 0)
goto fallback_fail;