diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-22 09:36:58 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-22 10:45:54 +0800 |
commit | fc95dc4ecc55c3dd4e429c6b5530ae2672d7ca1f (patch) | |
tree | 90b3075319520d04471ada029cc0fe66f75d91d9 | |
parent | 6afcd04684c27823afc778f712006e02b7470faf (diff) | |
download | talos-petitboot-fc95dc4ecc55c3dd4e429c6b5530ae2672d7ca1f.tar.gz talos-petitboot-fc95dc4ecc55c3dd4e429c6b5530ae2672d7ca1f.zip |
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 <jk@ozlabs.org>
-rw-r--r-- | utils/pb-console | 1 |
1 files changed, 1 insertions, 0 deletions
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 |