summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-08-30 13:14:49 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-08-30 13:14:49 +0200
commitf3383082a8cbb0952817f3601f03d4f94f34e0e7 (patch)
tree0e793443f23f582e4bec8ce47f7ea21c658756a4
parenta289d33e0102fad1342f8c0f3947f98dde8d5281 (diff)
downloadbin-f3383082a8cbb0952817f3601f03d4f94f34e0e7.tar.gz
bin-f3383082a8cbb0952817f3601f03d4f94f34e0e7.tar.xz
ch: Fix broken clean due to /var/lib/portables
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xch1
1 files changed, 1 insertions, 0 deletions
diff --git a/ch b/ch
index 2211fb7..fb5ac1e 100755
--- a/ch
+++ b/ch
@@ -175,6 +175,7 @@ chclean() {
continue
fi
+ sudo btrfs subvolume delete "$copy/var/lib/portables" || true
sudo btrfs subvolume delete "$copy/var/lib/machines" || true
sudo btrfs subvolume delete "$copy"
sudo rm -f "${copy%/}.lock"