Message ID | 20191008093354.15060-1-jk@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] pb-console: start shell as a login shell | expand |
diff --git a/utils/pb-console b/utils/pb-console index ab5eaaa..8245b33 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -141,5 +141,5 @@ while : do $ui $verbose_opt reset - $shell -m + $shell -ml done
The environment that pb-console starts is minimal, as we have likely been run by udev. Because we're starting a shell, we want the proper profile set up, so run as a login shell. This assumes the shell accepts -l, but we already have an assumption for supporting -m (as /bin/ash does). Signed-off-by: Jeremy Kerr <jk@ozlabs.org> --- utils/pb-console | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)