mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:registry: let fill_subkey_cache return WERR_BADFILE when the subkey list could not be loaded
WERR_NO_MORE_ITEMS seems inappropriate. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
1703e6fe09
commit
be2cb08e40
@ -117,7 +117,7 @@ static WERROR fill_subkey_cache(struct registry_key *key)
|
||||
|
||||
if (fetch_reg_keys(key->key, key->subkeys) == -1) {
|
||||
TALLOC_FREE(key->subkeys);
|
||||
return WERR_NO_MORE_ITEMS;
|
||||
return WERR_BADFILE;
|
||||
}
|
||||
|
||||
return WERR_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user