From 5251975259b08bc6ed7fe8c9dc01637080e017a9 Mon Sep 17 00:00:00 2001 From: Vladimir Marek Date: Mon, 17 Sep 2012 13:50:55 -0700 Subject: [PATCH] Fix service control for non-internal services. Signed-off-by: Jeremy Allison (cherry picked from commit a4e8869f7c93f30dd7014ff83d6d2f2b5afc2d64) Signed-off-by: Andreas Schneider --- source3/rpc_server/svcctl/srv_svcctl_reg.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/rpc_server/svcctl/srv_svcctl_reg.c b/source3/rpc_server/svcctl/srv_svcctl_reg.c index c3ce43f..930c327 100644 --- a/source3/rpc_server/svcctl/srv_svcctl_reg.c +++ b/source3/rpc_server/svcctl/srv_svcctl_reg.c @@ -392,10 +392,6 @@ static bool svcctl_add_service(TALLOC_CTX *mem_ctx, } } - if (ipath == NULL || dname == NULL || description == NULL) { - goto done; - } - /* Default to an external service if we haven't found a match */ if (builtin_svcs[i].servicename == NULL) { struct rcinit_file_information *init_info = NULL; -- 1.7.12