virsh: Fix return code for dump
virsh: Fix return code for dump

After the commit dc0771c, ret variable no longer
represents the status of the return code, use
data->ret replace it.

Signed-off-by: Xu Yandong <cd3b247855d1a97643b4e31bfb08b0f358cd290d@huawei.com>
Reviewed-by: Andrea Bolognani <3ada0bee826c753786fdbba72243dfba997094cf@redhat.com>
Reviewed-by: Daniel P. Berrangé <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>
Reviewed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

fabianfreyer/libvirt,libvirt/libvirt,olafhering/libvirt,jardasgit/libvirt,zippy2/libvirt,fabianfreyer/libvirt,crobinso/libvirt,crobinso/libvirt,jardasgit/libvirt,libvirt/libvirt,jfehlig/libvirt,zippy2/libvirt,crobinso/libvirt,libvirt/libvirt,jfehlig/libvirt,olafhering/libvirt,olafhering/libvirt,nertpinx/libvirt,nertpinx/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,jardasgit/libvirt,nertpinx/libvirt,jardasgit/libvirt,nertpinx/libvirt,olafhering/libvirt,zippy2/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,zippy2/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,libvirt/libvirt,jardasgit/libvirt