diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-19 08:20:41 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-19 08:36:18 -0500 |
commit | c4e99a892e0bcf8d432761d6df3fe06ead6aad75 (patch) | |
tree | d84c59b227a989f67d33a15faea3297fa6c5ece4 /server | |
parent | 15dc6329c159e3f03e25cc18a49681e0f4be9c51 (diff) | |
download | sssd-c4e99a892e0bcf8d432761d6df3fe06ead6aad75.tar.gz sssd-c4e99a892e0bcf8d432761d6df3fe06ead6aad75.tar.bz2 sssd-c4e99a892e0bcf8d432761d6df3fe06ead6aad75.zip |
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.
Diffstat (limited to 'server')
-rw-r--r-- | 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 db687945..b59ffa4c 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; } } |