X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=mount-latest-subvol;fp=mount-latest-subvol;h=1f4229e5a9095f5bb28751e16ae12e2dcd1f63b2;hp=eb682f4eebf54212768eb03c0c0a07e4f6114879;hb=8e6b1a997f8dcf71feccd390a06a3229277952b8;hpb=86c0ed3d5d8b0df8b961935fe931c8f57edd0240 diff --git a/mount-latest-subvol b/mount-latest-subvol index eb682f4..1f4229e 100644 --- a/mount-latest-subvol +++ b/mount-latest-subvol @@ -24,6 +24,7 @@ cd / [[ $EUID == 0 ]] || exec sudo -E "$this_file" "$@" set -e; . /usr/local/lib/bash-bear; set +e +shopt -s nullglob usage() { cat < 0 )); then + all_vols+=(ar) + fi fi ##### end command line parsing ######## @@ -237,7 +242,6 @@ fstab <