summaryrefslogtreecommitdiffstats
path: root/ch
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2021-09-19 10:47:49 +0200
committerFlorian Pritz <bluewind@xinu.at>2021-09-19 11:15:00 +0200
commit78fd97afa210c2e08d485cbfadae9288420ef4cd (patch)
tree2679d41a00f55acfda65d75c5822e9ec73f5eefc /ch
parent271a776ec047229a381a7de7161cccab9ba3fd63 (diff)
downloadbin-78fd97afa210c2e08d485cbfadae9288420ef4cd.tar.gz
bin-78fd97afa210c2e08d485cbfadae9288420ef4cd.tar.xz
ch: Remove additional subvolume in single clean
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'ch')
-rwxr-xr-xch1
1 files changed, 1 insertions, 0 deletions
diff --git a/ch b/ch
index c875649..b76acaa 100755
--- a/ch
+++ b/ch
@@ -190,6 +190,7 @@ chclean() {
chclean-single() {
__chrootalias_resolve_create "$1" || return
if [[ -e $copydir ]]; then
+ sudo btrfs subvolume delete "$copydir/var/lib/portables" || true
sudo btrfs subvolume delete "$copydir/var/lib/machines" || true
sudo btrfs subvolume delete "$copydir"
sudo rm -f "${copydir%/}.lock"