X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mount-latest-subvol;h=49dfac72910f8ecb0ed8b42a5ca9c9f3cdb4a1be;hb=77917a8fbf2032a8b2634a1b3de0879ec45cf213;hp=f9bc2def096c8710e53e812fac815216d2592ce5;hpb=1059b8ac11f567b9a8eec1e34a7ab6e791721dca;p=distro-setup diff --git a/mount-latest-subvol b/mount-latest-subvol index f9bc2de..49dfac7 100644 --- a/mount-latest-subvol +++ b/mount-latest-subvol @@ -108,7 +108,7 @@ kill-dir() { # you can remove this if you do not have options which can have args with spaces or empty. -verbose=false +verbose=true force=false temp=$(getopt -l help,force,verbose hfv "$@") || usage 1 eval set -- "$temp" @@ -242,7 +242,7 @@ for vol in q a o i; do if m umount -R $dir; then unmounted+=($dir) else - if ! kill-dir TERM TERM TERM INT INT HUP HUP; then + if ! kill-dir TERM TERM TERM INT INT HUP HUP TERM TERM TERM INT INT HUP HUP; then if $force; then kill-dir KILL; fi fi