summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2019-03-28 14:52:35 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2019-04-01 13:54:53 +1100
commit1cd261748c005b3c64b45f745a2fb3fb26236a4c (patch)
treebb9df1706b6257df9d0f8223e1381564e38b59cb
parent1ad18bf128c4edfae76adaffd9c7801355f29b91 (diff)
downloadtalos-petitboot-master.zip
talos-petitboot-master.tar.gz
utils/pb-console: Use -m to run shell in own process groupHEADv1.10.3master
Use -m to have the shell spawned by pb-console run it its own process group, allowing commands such as Ctrl-C (SIGINT) to behave as expected rather than killing 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 5ba98cc..ab5eaaa 100644
--- a/utils/pb-console
+++ b/utils/pb-console
@@ -141,5 +141,5 @@ while :
do
$ui $verbose_opt
reset
- $shell
+ $shell -m
done
OpenPOWER on IntegriCloud