18 Aug
2020
18 Aug
'20
2:35 p.m.
On Sat, Aug 08, 2020 at 04:19:58PM +0800, Hao Wang wrote:
From: Hao Wang <wanghao232@huawei.com> Subject: [PATCH] doCoreDump: fix return value not expect as result
In a case that qemuDumpToFd() return zero while VIR_CLOSE(fd) fails, codes will go to "cleanup" with "ret=0", resulting in unexpected return value. Fix that.
Signed-off-by: Hao Wang <wanghao232@huawei.com> --- Reviewed-by: Erik Skultety <eskultet@redhat.com>