[PATCH] utils/pb-console: Use -m to run shell in own process group
Samuel Mendoza-Jonas
sam at mendozajonas.com
Mon Apr 1 13:17:10 AEDT 2019
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 at mendozajonas.com>
---
utils/pb-console | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/pb-console b/utils/pb-console
index 5ba98cc4..ab5eaaa4 100644
--- a/utils/pb-console
+++ b/utils/pb-console
@@ -141,5 +141,5 @@ while :
do
$ui $verbose_opt
reset
- $shell
+ $shell -m
done
--
2.21.0
More information about the Petitboot
mailing list