mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
registry: skip writes of existing keys in init_registry_data().
Michael (This used to be commit 37dabf931727f00569725af0e34677d36bb7df99)
This commit is contained in:
parent
9fe870affa
commit
f50002b491
@ -293,6 +293,9 @@ do_init:
|
||||
/* loop over all of the predefined paths and add each component */
|
||||
|
||||
for (i=0; builtin_registry_paths[i] != NULL; i++) {
|
||||
if (regdb_key_exists(builtin_registry_paths[i])) {
|
||||
continue;
|
||||
}
|
||||
werr = init_registry_key_internal(builtin_registry_paths[i]);
|
||||
if (!W_ERROR_IS_OK(werr)) {
|
||||
goto fail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user