git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d22ca0
)
loadparm: fix process_registry_shares() when there is only [global] in registry.
author
Michael Adam
<obnox@samba.org>
Tue, 27 May 2008 08:59:11 +0000
(10:59 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 27 May 2008 09:00:30 +0000
(11:00 +0200)
This fixes testparm printing "Error loading services." when there is only
the global section in registry and no other service definition.
Michael
source/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index c2722748377cff8ce12121fca8beb8c272c34de8..a5623a25c02cce1754830135a3ff7c02c1d3b595 100644
(file)
--- a/
source/param/loadparm.c
+++ b/
source/param/loadparm.c
@@
-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;