command: avoid double close in virExecWithHook
Fix possible double close in the child process after the fork in case infd and outfd are equal, just like they are after being called from virNetSocketNewConnectCommand.
Showing
想要评论请 注册 或 登录