discover/grub: Use --id values for default option detection
[petitboot] / utils / pb-console
index e3bc8af14047b5872d8ad7f680e1521f289bd9ca..d846ea7614703dd80f590f45a6f74341889dd773 100644 (file)
@@ -82,6 +82,7 @@ then
        if [ "$detach" = 1 ]
        then
                $getty -l $0 "$@" &
+               exit
        else
                exec $getty -l $0 "$@"
        fi