refactor: migrate container changes (#91)

* refactor: migrate container changes
* ignore contextcheck
This commit is contained in:
ChristopherHX
2025-04-26 13:28:18 +02:00
committed by GitHub
parent dfbb094199
commit eddc77f3e0
4 changed files with 123 additions and 73 deletions

View File

@@ -320,7 +320,7 @@ func (e *HostEnvironment) exec(ctx context.Context, command []string, cmdline st
tty.Close()
}
}()
if true /* allocate Terminal */ {
if containerAllocateTerminal /* allocate Terminal */ {
var err error
ppty, tty, err = setupPty(cmd, cmdline)
if err != nil {