X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mount-latest-subvol;h=099c38f78f88eb85ad19de2a7864513d394b3453;hb=dc8de4077c6b6a7ae3678e3be1d639dc9219cd77;hp=4c1ee2f6b1ca1ae1239062d5fe329f2b20bb983a;hpb=89fc59d6e4bbeb1778c6aaaee776122dcf790871;p=distro-setup diff --git a/mount-latest-subvol b/mount-latest-subvol index 4c1ee2f..099c38f 100644 --- a/mount-latest-subvol +++ b/mount-latest-subvol @@ -472,6 +472,9 @@ for dir in /mnt/r7/amy/{root/root,boot/boot}_ubuntubionic /mnt/{root2/root,boot2 rm -f /nocow/btrfs-stale/$vol done +if (( $ret )); then + echo "$0: exit status $ret. see error above" +fi exit $ret