]> git.ozlabs.org Git - petitboot/blobdiff - utils/pb-console
utils/pb-console: Set up controlling terminal
[petitboot] / utils / pb-console
index ef9ed0f61d455a8fc85757611d0dab374fa8e90c..62952959a10b03409f6d8f5bc5de7b67f1d748c4 100644 (file)
@@ -94,7 +94,7 @@ then
 
        if [ "$detach" = 1 ]
        then
-               $getty $login_arg "$@" &
+               setsid -c $getty $login_arg "$@" &
                exit
        else
                exec $getty $login_arg "$@"