Skip to content
Snippets Groups Projects
Unverified Commit a1f8ac9c authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

makechrootpkg: Delete chroot subvols recursively when using -T

I overlooked this one. Fixes FS#53513.
parent 2243a276
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ delete_chroot() {
stat_busy "Removing chroot copy [%s]" "$copy"
if is_btrfs "$chrootdir" && ! mountpoint -q "$copydir"; then
btrfs subvolume delete "$copydir" >/dev/null ||
subvolume_delete_recursive "$copydir" ||
die "Unable to delete subvolume %s" "$copydir"
else
# avoid change of filesystem in case of an umount failure
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment