diff --git a/makechrootpkg.in b/makechrootpkg.in index f6764cb3cd86e5eb99e150b7e00a7c7de7c14621..20a1f507dccec4fa526fbcf5d3373d6247952c35 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -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