s4-messaging: fixed the removal of messaging sockets in child tasks
[mat/samba.git] / source4 / smbd / service_task.c
index 32c44cf6603fc688037ccd8dcdf846376e2dfdda..f68805fde032a5147a6868fbcc803c19cf9a1421 100644 (file)
@@ -79,9 +79,9 @@ static void task_server_callback(struct tevent_context *event_ctx,
        task->lp_ctx = lp_ctx;
 
        task->msg_ctx = imessaging_init(task,
-                                      lpcfg_imessaging_path(task, task->lp_ctx),
-                                      task->server_id, 
-                                      task->event_ctx);
+                                       lpcfg_imessaging_path(task, task->lp_ctx),
+                                       task->server_id,
+                                       task->event_ctx, false);
        if (!task->msg_ctx) {
                task_server_terminate(task, "imessaging_init() failed", true);
                return;