X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=overlay-go;h=5cde886c8f9c8856c681e5d02740804ce7574226;hb=f86ce1827c0f74b3ac15598946b41477dd5a4066;hp=b055d9840394cd897ee37c5b0931622815501152;hpb=0a18b8716dacd4a0c0e7fa231b75b08806e69db1;p=rrq%2Foverlay-boot.git diff --git a/overlay-go b/overlay-go index b055d98..5cde886 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"