On Sat, Aug 08, 2020 at 04:19:58PM +0800, Hao Wang wrote: > From: Hao Wang <wanghao232@xxxxxxxxxx> > 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@xxxxxxxxxx> > --- Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>