diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-06-03 12:18:30 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-06-03 12:18:30 +0200 |
commit | 4ee34c7b9a53602f531f66683a87feb14051a1df (patch) | |
tree | f23c3d37a80754a7cb246ce9ecdd99abb5f36718 | |
parent | 03f19c98e3f8476c5d57dda089033a4973b415d6 (diff) | |
download | bin-4ee34c7b9a53602f531f66683a87feb14051a1df.tar.gz bin-4ee34c7b9a53602f531f66683a87feb14051a1df.tar.xz |
ch: enable nullglob to prevent errors if no chroots exist
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | ch | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,8 @@ # functions for building chroots CHROOTS="/mnt/chroots/arch" +shopt -s nullglob + __genchroot() { sudo btrfs subvolume snapshot "$chrootdir/root" "$copydir" } |