X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=overlay-go;h=991067d5a453c20bf629d4392097499a10087331;hb=999f45597a2b2461d43d05b3a4726c29d2eed0ac;hp=ef237fc51a836e42c46914a88295b399ec11540a;hpb=a3b6bd2a94624852e5fef890fda9fde9548080f3;p=rrq%2Foverlay-boot.git diff --git a/overlay-go b/overlay-go index ef237fc..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