From 3a3503dd70e70c9ec948f38b6d7743ce75dab2a9 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 19 Nov 2009 08:20:41 -0500 Subject: [PATCH] Fix sysdb upgrade bug After completing an upgrade successfully, we were still falling into the "version not found" case. We should be exiting the function after performing the upgrade. --- server/db/sysdb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/db/sysdb.c b/server/db/sysdb.c index db68794..b59ffa4 100644 --- a/server/db/sysdb.c +++ b/server/db/sysdb.c @@ -1290,7 +1290,7 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, if (strcmp(version, SYSDB_VERSION_0_3) == 0) { ret = sysdb_upgrade_03(ctx, &version); - if (ret != EOK) goto done; + goto done; } } -- 1.6.2.5