summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/queue_process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c
index c44f60fa20e..6613e8f9f55 100644
--- a/source3/printing/queue_process.c
+++ b/source3/printing/queue_process.c
@@ -423,16 +423,16 @@ bool printing_subsystem_init(struct tevent_context *ev_ctx,
{
pid_t pid = -1;
- if (!print_backend_init(msg_ctx)) {
- return false;
- }
-
pid = start_background_queue(NULL, NULL, NULL);
if (pid == -1) {
return false;
}
background_lpq_updater_pid = pid;
+ if (!print_backend_init(msg_ctx)) {
+ return false;
+ }
+
return true;
}