summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-06-01 12:55:16 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-12-03 14:39:57 +1100
commitce14ac6dd659cb5e577db1d98abb061e36edbdec (patch)
treefdcd0bbf1aaf0fd1af529a13e9a60df36622dc71
parent6eee2fc7ef135beadaafbc9dac61d31ff6ef3659 (diff)
downloadtalos-petitboot-ce14ac6dd659cb5e577db1d98abb061e36edbdec.zip
talos-petitboot-ce14ac6dd659cb5e577db1d98abb061e36edbdec.tar.gz
utils/pb-console: Set up controlling terminal
Enabling job control in the shell. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r--utils/pb-console2
1 files changed, 1 insertions, 1 deletions
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 "$@"
OpenPOWER on IntegriCloud