mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-07 07:34:27 +01:00
Dup a new file descriptor for temporary logger writer, since this logger would be dropped and it's writer would be closed out of if definition scope, which would cause the logger process thread terminated if it used the original pipe write fd. Fixes: #318 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>