summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 070c279d57..b7c34d0028 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6818,6 +6818,9 @@ static bool process_smbconf_service(struct smbconf_service *service)
return false;
}
}
+ if (iServiceIndex >= 0) {
+ ret = service_ok(iServiceIndex);
+ }
return true;
}