We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed4ad80 commit ffe7c67Copy full SHA for ffe7c67
1 file changed
conty-start.sh
@@ -654,8 +654,11 @@ run_bwrap () {
654
--tmpfs /var \
655
--tmpfs /run \
656
--symlink /run /var/run \
657
- --tmpfs /tmp \
658
- --new-session)
+ --tmpfs /tmp)
+
659
+ if [ "$(cat /proc/sys/dev/tty/legacy_tiocsti 2>/dev/null)" != 0 ]; then
660
+ sandbox_params+=(--new-session)
661
+ fi
662
663
if [ -n "${non_standard_home[*]}" ]; then
664
sandbox_params+=(--dir "${NEW_HOME}")
0 commit comments