From: Jeremy Kerr Date: Fri, 22 Nov 2013 01:36:58 +0000 (+0800) Subject: utils/pb-console: Exit after running getty in detached state X-Git-Tag: v1.0.0~327 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=fc95dc4ecc55c3dd4e429c6b5530ae2672d7ca1f;hp=6afcd04684c27823afc778f712006e02b7470faf utils/pb-console: Exit after running getty in detached state ... otherwise we'll try and bring the UI up on the current tty too. Signed-off-by: Jeremy Kerr --- diff --git a/utils/pb-console b/utils/pb-console index e3bc8af..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