mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3:spoolss: Exit if fork call fails
Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
2cb4a9c6e8
commit
fd62ab62ae
@ -616,6 +616,7 @@ pid_t start_spoolssd(struct tevent_context *ev_ctx,
|
||||
if (pid == -1) {
|
||||
DEBUG(0, ("Failed to fork SPOOLSS [%s]\n",
|
||||
strerror(errno)));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* parent or error */
|
||||
|
Loading…
Reference in New Issue
Block a user