From 7997a090c687df56c29607d4860b306aeb1dd237 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 23 Apr 2021 16:07:38 +0200 Subject: [PATCH] printing: Remove dead code This was already covered a few lines above. Signed-off-by: Volker Lendecke Reviewed-by: Andreas Schneider --- source3/printing/queue_process.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c index a4f49d01508..225b7d8aa89 100644 --- a/source3/printing/queue_process.c +++ b/source3/printing/queue_process.c @@ -332,11 +332,6 @@ pid_t start_background_queue(struct tevent_context *ev, return pid; } - if (pid == -1) { - DEBUG(5,("start_background_queue: background LPQ thread failed to start. %s\n", strerror(errno) )); - exit(1); - } - if (pid == 0) { int ret; NTSTATUS status; -- 2.47.3