]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: qemuDomainNamespaceUnlinkPaths: Return 0 in case of success
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Wed, 17 Jan 2018 15:47:16 +0000 (16:47 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 17 Jan 2018 16:08:53 +0000 (17:08 +0100)
Commit 7a931a4204af refactored the code and probably forgot to add
this line.

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
src/qemu/qemu_domain.c

index 5c171e4cbd6c4446f7c4fde28159c6caac51ee13..441bf5935b14ca9efe83cbd304682ed0469895e5 100644 (file)
@@ -10212,7 +10212,7 @@ qemuDomainNamespaceUnlinkPaths(virDomainObjPtr vm,
             goto cleanup;
     }
 
-
+    ret = 0;
  cleanup:
     virStringListFreeCount(devMountsPath, ndevMountsPath);
     virObjectUnref(cfg);