[PATCH] utils/pb-console: Use -m to run shell in own process group

Samuel Mendoza-Jonas sam at mendozajonas.com
Wed Apr 3 16:37:18 AEDT 2019


On Mon, 2019-04-01 at 13:17 +1100, Samuel Mendoza-Jonas wrote:
> 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>

Merged as 1cd2617

> ---
>  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




More information about the Petitboot mailing list