X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=utils%2Fpb-console;h=d846ea7614703dd80f590f45a6f74341889dd773;hp=b1c8003ef841d155b81051a9dc091beec83ff7d0;hb=af805399e80ae70a9fc7af9b47d76577be44a683;hpb=0134e4d24ea0d09c4daf64ea513099d246186d32;ds=sidebyside diff --git a/utils/pb-console b/utils/pb-console index b1c8003..d846ea7 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -82,6 +82,7 @@ then if [ "$detach" = 1 ] then $getty -l $0 "$@" & + exit else exec $getty -l $0 "$@" fi @@ -98,6 +99,7 @@ done while : do $ui + reset echo "Exiting petitboot. Type 'exit' to return." $shell done