diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-03-21 10:12:18 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-03-21 10:12:18 +0100 |
commit | a4297472468e8f980ccaa5fa8123aea49a15c06f (patch) | |
tree | 8fdcd5521157ecec081f0ecf177938149d9b86a9 | |
parent | 4f3d637eb1996cfdd9fff0c35b0a2c9e6a679e13 (diff) | |
download | bin-a4297472468e8f980ccaa5fa8123aea49a15c06f.tar.gz bin-a4297472468e8f980ccaa5fa8123aea49a15c06f.tar.xz |
ch: Delete /var/lib/machines if it exists
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | ch | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -131,6 +131,7 @@ chkill() { __chrootalias_resolve "$1" || return for dir in "$CHROOTS/$chroot/"*/; do + sudo btrfs subvolume delete "$dir/var/lib/machines" || true sudo btrfs subvolume delete "$dir" done sudo rm -rf "$CHROOTS/$chroot" |