diff options
author | Michael Adam <obnox@samba.org> | 2011-07-01 13:57:19 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-04 20:02:07 +0200 |
commit | 6b99aa496fe653f6bb7dcd7720f5a2c736779af6 (patch) | |
tree | 92327bc2f1ec496bb671a976560e8000bfd8d953 /source3 | |
parent | a60c94d55980c62ca281507c8d1960b5ab233dba (diff) | |
download | samba-6b99aa496fe653f6bb7dcd7720f5a2c736779af6.tar.gz samba-6b99aa496fe653f6bb7dcd7720f5a2c736779af6.tar.bz2 samba-6b99aa496fe653f6bb7dcd7720f5a2c736779af6.zip |
s3:registry: don't skip base keys from existence check in regdb_delete_subkey()
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/registry/reg_backend_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 2fda23895f..b89da95ae6 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -1213,7 +1213,7 @@ static WERROR regdb_delete_subkey(const char *key, const char *subkey) struct regdb_delete_subkey_context delete_ctx; TALLOC_CTX *mem_ctx = talloc_stackframe(); - if (!regdb_key_is_base_key(key) && !regdb_key_exists(regdb, key)) { + if (!regdb_key_exists(regdb, key)) { werr = WERR_NOT_FOUND; goto done; } |