summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/queue_process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c
index 3b0ef55c3cc..c44f60fa20e 100644
--- a/source3/printing/queue_process.c
+++ b/source3/printing/queue_process.c
@@ -319,6 +319,9 @@ struct bq_state *register_printing_bq_handlers(
goto fail_free_handlers;
}
+ /* Initialize the printcap cache as soon as the daemon starts. */
+ pcap_cache_reload(state->ev, state->msg, reload_pcap_change_notify);
+
ok = printing_subsystem_queue_tasks(state);
if (!ok) {
goto fail_free_handlers;