mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
loadparm: fix process_registry_shares() when there is only [global] in registry.
This fixes testparm printing "Error loading services." when there is only the global section in registry and no other service definition. Michael (This used to be commit 28d197220038b9a47af177b88a8587f865e45de5)
This commit is contained in:
parent
ae51353107
commit
2f446d9e55
@ -6591,6 +6591,8 @@ static bool process_registry_shares(void)
|
||||
goto done;
|
||||
}
|
||||
|
||||
ret = true;
|
||||
|
||||
for (count = 0; count < num_shares; count++) {
|
||||
if (strequal(service[count]->name, GLOBAL_NAME)) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user