diff options
author | Andreas Schneider <asn@samba.org> | 2011-07-15 18:08:35 +0200 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-21 09:05:02 -0400 |
commit | dea21619a28ddd69ecf2d6427c9beefc2e2fefa3 (patch) | |
tree | fa2382313092363710e51765897ab6b2998a774c /source3/printing | |
parent | 5169dff3807385f466ef6f2f4bd21a1dbbd8f95d (diff) | |
download | samba-dea21619a28ddd69ecf2d6427c9beefc2e2fefa3.tar.gz samba-dea21619a28ddd69ecf2d6427c9beefc2e2fefa3.tar.bz2 samba-dea21619a28ddd69ecf2d6427c9beefc2e2fefa3.zip |
s3-spoolssd: Check if we were able to create the prefork pool.
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/spoolssd.c | 3 |
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 | |