index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-10 22:22:06 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-09-22 08:25:43 -0400 |
commit | 12a1300694272928e70408f4ce2fe85bacd19eb4 (patch) | |
tree | 0fa9b6a25307cb1e37bf618fa0d757a9143e3753 /makechrootpkg.in | |
parent | 625e6bd41206c5018b1a9e11c5cc2b3aef55a66e (diff) |
-rw-r--r-- | makechrootpkg.in | 2 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 5ed7390..8bc18a4 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -164,7 +164,7 @@ create_chroot() { clean_temporary() { stat_busy "Removing temporary copy [$copy]" - if [[ "$chroottype" == btrfs ]]; then + if [[ "$chroottype" == btrfs ]] && ! mountpoint -q "$copydir"; then btrfs subvolume delete "$copydir" >/dev/null || die "Unable to delete subvolume %s" "$copydir" else |