[Libvirt-cim] [PATCH] Make external check code not consider absence of the check dir a failure

Dan Smith danms at us.ibm.com
Mon Mar 17 17:33:30 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1205775186 25200
# Node ID 420c2f10feb2cacc2081a65a0022fcb8355c7887
# Parent  6a4ee1677ad7c63aabcb1291b6f677b82d8098db
Make external check code not consider absence of the check dir a failure

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r 6a4ee1677ad7 -r 420c2f10feb2 src/Virt_VSMigrationService.c
--- a/src/Virt_VSMigrationService.c	Mon Mar 17 10:14:16 2008 -0700
+++ b/src/Virt_VSMigrationService.c	Mon Mar 17 10:33:06 2008 -0700
@@ -316,7 +316,7 @@ static char **list_migration_checks(int 
                 CU_DEBUG("Unable to open migration checks dir: %s (%s)",
                          MIG_CHECKS_DIR,
                          strerror(errno));
-                *count = -1;
+                *count = 0;
                 return NULL;
         }
 




More information about the Libvirt-cim mailing list