index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-05 18:45:26 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-05 18:45:26 -0500 |
commit | 534d2015b45e013b37e1edbb997bd4df27d7b8fd (patch) | |
tree | e0496b5605062ce4c43e8ca7cb8f709aecff439e /makechrootpkg.in | |
parent | 6223f9fca6803d814ba026cb5b88c9c2ed48b540 (diff) |
-rw-r--r-- | makechrootpkg.in | 2 |
diff --git a/makechrootpkg.in b/makechrootpkg.in index 052ab71..71fd5d9 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -164,7 +164,7 @@ create_chroot() { clean_temporary() { stat_busy "Removing temporary copy [%s]" "$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 |