mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3:registry: return error when Key does not exist in regdb_fetch_values_internal()
This commit is contained in:
parent
b954d88dbe
commit
cd98954c6d
@ -1886,6 +1886,9 @@ static int regdb_fetch_values_internal(struct db_context *db, const char* key,
|
||||
DEBUG(10,("regdb_fetch_values: Looking for values of key [%s]\n", key));
|
||||
|
||||
if (!regdb_key_exists(db, key)) {
|
||||
DEBUG(10, ("regb_fetch_values: key [%s] does not exist\n",
|
||||
key));
|
||||
ret = -1;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user