X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mount-latest-subvol;h=bb93939290a11f1d4da248901f3d33576f2992b3;hb=5a6e794f459b3e83b6d665e05d0ab0c8bc6cdfbe;hp=3844e7279e488d33d8f479820650a9c4c2bb895a;hpb=2c39d0edb4d64c34356b8d5d6b65a25ee7aab040;p=distro-setup diff --git a/mount-latest-subvol b/mount-latest-subvol index 3844e72..bb93939 100644 --- a/mount-latest-subvol +++ b/mount-latest-subvol @@ -18,7 +18,7 @@ readonly this_file cd / [[ $EUID == 0 ]] || exec sudo -E "$this_file" "$@" -source /usr/local/lib/err +set -e; . /usr/local/lib/bash-bear; set +e usage() { cat <= 1 )); then echo "$0: exit status $ret. see error above" fi exit $ret