From: Samuel Mendoza-Jonas Date: Fri, 1 Jun 2018 02:55:16 +0000 (+1000) Subject: utils/pb-console: Set up controlling terminal X-Git-Tag: v1.10.0~14 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=ce14ac6dd659cb5e577db1d98abb061e36edbdec;p=petitboot utils/pb-console: Set up controlling terminal Enabling job control in the shell. Signed-off-by: Samuel Mendoza-Jonas --- diff --git a/utils/pb-console b/utils/pb-console index ef9ed0f..6295295 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -94,7 +94,7 @@ then if [ "$detach" = 1 ] then - $getty $login_arg "$@" & + setsid -c $getty $login_arg "$@" & exit else exec $getty $login_arg "$@"