summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 7b794020a1..670746e913 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6819,7 +6819,7 @@ static bool process_smbconf_service(struct smbconf_service *service)
}
}
if (iServiceIndex >= 0) {
- ret = service_ok(iServiceIndex);
+ return service_ok(iServiceIndex);
}
return true;
}