summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/spoolssd.c3
1 files changed, 3 insertions, 0 deletions
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 |