From dea21619a28ddd69ecf2d6427c9beefc2e2fefa3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 15 Jul 2011 18:08:35 +0200 Subject: s3-spoolssd: Check if we were able to create the prefork pool. Signed-off-by: Andreas Schneider Signed-off-by: Simo Sorce --- source3/printing/spoolssd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/printing/spoolssd.c') diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c index 09ffc05caf..c5c30ab104 100644 --- a/source3/printing/spoolssd.c +++ b/source3/printing/spoolssd.c @@ -820,6 +820,9 @@ pid_t start_spoolssd(struct tevent_context *ev_ctx, spoolss_max_children, &spoolss_children_main, NULL, &spoolss_pool); + if (!ok) { + exit(1); + } if (!serverid_register(procid_self(), FLAG_MSG_GENERAL | -- cgit