1
0
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:
Samuel Cabrero 2019-02-06 09:11:47 +01:00 committed by Stefan Metzmacher
parent 2cb4a9c6e8
commit fd62ab62ae

View File

@ -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 */