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:
Kir Kolyshkin
2021-11-29 19:40:57 -08:00
parent f3f4b6d155
commit 3648346572
2 changed files with 2 additions and 6 deletions
+1 -4
View File
@@ -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)