mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 09:46:19 +00:00
Use read -p to wait for enter.
This commit is contained in:
parent
32e1712df7
commit
58b9040a36
@ -6,8 +6,7 @@ SUPERVISOR_SOCKET_PATH=/data
|
||||
COMMAND_SOCKET=${SUPERVISOR_SOCKET_PATH}/host
|
||||
|
||||
if [ ! -S ${COMMAND_SOCKET} ]; then
|
||||
echo 'TTY mode not supported on this image, please update.'
|
||||
sleep infinity
|
||||
read -p 'TTY mode not supported on this image, please update.'
|
||||
else
|
||||
echo "
|
||||
rm -f ${HOST_SOCKET}
|
||||
|
Loading…
x
Reference in New Issue
Block a user