mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 15:36:29 +00:00
OS: Run ash as login shell, so $PATH is set correctly. (#305)
This commit is contained in:
parent
2be8aecfbd
commit
5fc32d2eb7
@ -20,9 +20,9 @@ docker container run \
|
|||||||
$DOCKER_ARGS \
|
$DOCKER_ARGS \
|
||||||
"${CLI}"
|
"${CLI}"
|
||||||
|
|
||||||
# Jump to root shell
|
# Jump to root login shell
|
||||||
if [ $? -eq 10 ]; then
|
if [ $? -eq 10 ]; then
|
||||||
/bin/ash
|
/bin/ash -l
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user