mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
tty: ClosePostStart: rm return value
It is not and was not ever used. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
+1
-4
@@ -301,10 +301,7 @@ func (r *runner) run(config *specs.Process) (int, error) {
|
||||
r.terminate(process)
|
||||
return -1, err
|
||||
}
|
||||
if err = tty.ClosePostStart(); err != nil {
|
||||
r.terminate(process)
|
||||
return -1, err
|
||||
}
|
||||
tty.ClosePostStart()
|
||||
if r.pidFile != "" {
|
||||
if err = createPidFile(r.pidFile, process); err != nil {
|
||||
r.terminate(process)
|
||||
|
||||
Reference in New Issue
Block a user