printing: Avoid zombies in the background daemon
authorVolker Lendecke <vl@samba.org>
Fri, 23 Apr 2021 09:17:33 +0000 (11:17 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 27 Apr 2021 13:24:35 +0000 (13:24 +0000)
commit8d2eb62a1070dc2ee5be99338d4fa66981002c12
tree3cdd64ea2d7ea974763e778a3bd1a4886240db2d
parentce97c67186266213ef78ccc56917a6bb45bd200d
printing: Avoid zombies in the background daemon

Whatever you read about waitpid() tells you should should run it in a
loop.

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