1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:registry: don't skip base key in existence check in regdb_store_keys_internal()

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
This commit is contained in:
Michael Adam 2011-07-01 14:23:19 +02:00
parent da2e64b63f
commit 5b01a34ad7

View File

@ -1017,7 +1017,7 @@ static bool regdb_store_keys_internal(struct db_context *db, const char *key,
bool ret = false;
struct regdb_store_keys_context store_ctx;
if (!regdb_key_is_base_key(key) && !regdb_key_exists(db, key)) {
if (!regdb_key_exists(db, key)) {
goto done;
}