X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=overlay-go;h=991067d5a453c20bf629d4392097499a10087331;hb=dd72881d0d2881d4010e4978734de031a2a884fc;hp=b055d9840394cd897ee37c5b0931622815501152;hpb=0a18b8716dacd4a0c0e7fa231b75b08806e69db1;p=rrq%2Foverlay-boot.git diff --git a/overlay-go b/overlay-go index b055d98..991067d 100755 --- a/overlay-go +++ b/overlay-go @@ -5,10 +5,7 @@ NAME="$1" -if [ -z "$NAME" ] ; then - echo "Select subhost: $(list_running)" - exit 0 -fi +[ -z "$NAME" ] && echo "Select subhost: $(list_running)" && exit 0 read USPID RSPID <&2 + stty sane # a killed bash might leave the tty insane and stty + # typically gets stopped trying to correct it +fi +echo "done"