printing: Remove dead code
authorVolker Lendecke <vl@samba.org>
Fri, 23 Apr 2021 14:07:38 +0000 (16:07 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 27 Apr 2021 13:24:35 +0000 (13:24 +0000)
This was already covered a few lines above.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/printing/queue_process.c

index a4f49d0150859097b4421a942d2de46e00096bb2..225b7d8aa8924d0e3c9166032a3c8ba7b7b88802 100644 (file)
@@ -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;