<div dir="ltr"><div>I'll include a link to the relevant bug report here, since I managed to send the patch without context: <a href="https://bugs.archlinux.org/task/34749">https://bugs.archlinux.org/task/34749</a><br><br>
</div>Cheers!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 16 September 2013 00:35, WorMzy Tykashi <span dir="ltr"><<a href="mailto:wormzy.tykashi@gmail.com" target="_blank">wormzy.tykashi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">---<br>
 <a href="http://makechrootpkg.in" target="_blank">makechrootpkg.in</a> | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/<a href="http://makechrootpkg.in" target="_blank">makechrootpkg.in</a> b/<a href="http://makechrootpkg.in" target="_blank">makechrootpkg.in</a><br>
index 8c64ae1..167ee2f 100644<br>
--- a/<a href="http://makechrootpkg.in" target="_blank">makechrootpkg.in</a><br>
+++ b/<a href="http://makechrootpkg.in" target="_blank">makechrootpkg.in</a><br>
@@ -140,7 +140,7 @@ create_chroot() {<br>
                slock 8 "$chrootdir/root.lock" "Locking clean chroot"<br>
<br>
                stat_busy "Creating clean working copy [$copy]"<br>
-               if [[ "$chroottype" == btrfs ]]; then<br>
+               if [[ "$chroottype" == btrfs ]] && ! mountpoint -q "$copydir"; then<br>
                        if [[ -d $copydir ]]; then<br>
                                btrfs subvolume delete "$copydir" >/dev/null ||<br>
                                        die "Unable to delete subvolume %s" "$copydir"<br>
--<br>
1.8.4<br>
<br>
</div></div></blockquote></div><br></div>