mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-05-17 22:20:16 +01:00
bb176184b2
Since enter.sh starts Docker with `--interactive --tty` flags, it fails to run if started from another script which doesn't allocate TTY. Detect if the parent shell is a terminal and if not, do not attempt to run in interactive mode.