mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
d8edada9f2
We close the logfd before execve so there's no need to special case it. In addition, it turns out that (*os.File).Fd() doesn't handle the case where the file was closed and so it seems suspect to use that kind of check. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>