git.samba.org
/
npower
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb4a9c
)
s3:spoolss: Exit if fork call fails
author
Samuel Cabrero
<scabrero@suse.de>
Wed, 6 Feb 2019 08:11:47 +0000
(09:11 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 22 Jul 2019 16:49:14 +0000
(16:49 +0000)
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/printing/spoolssd.c
patch
|
blob
|
history
diff --git
a/source3/printing/spoolssd.c
b/source3/printing/spoolssd.c
index a3c69dfb54fc089e1eb8d9be13856b489fadb962..69639577a5c7fd0e77672fe9c2a4d4357d0b5d2d 100644
(file)
--- a/
source3/printing/spoolssd.c
+++ b/
source3/printing/spoolssd.c
@@
-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 */