summaryrefslogtreecommitdiffstats
path: root/ch
diff options
context:
space:
mode:
Diffstat (limited to 'ch')
-rwxr-xr-xch2
1 files changed, 2 insertions, 0 deletions
diff --git a/ch b/ch
index 04bb6d5..5334b43 100755
--- a/ch
+++ b/ch
@@ -18,6 +18,8 @@
# functions for building chroots
CHROOTS="/mnt/chroots/arch"
+shopt -s nullglob
+
__genchroot() {
sudo btrfs subvolume snapshot "$chrootdir/root" "$copydir"
}