mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-20 02:18:37 +00:00
OS: Run ash as login shell, so $PATH is set correctly. (#305)
This commit is contained in:
committed by
Pascal Vizeli
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
|
||||||
|
|||||||
Reference in New Issue
Block a user