commit 30e9b642a01f4ae1cf5e8b7203def2b10c7c2e7a
parent dcb34033fae65a43eb28404c6c1698d459444b89
Author: Joris Vink <joris@coders.se>
Date: Fri, 5 Jun 2020 14:21:39 +0200
Skip ACME worker process if ACME isnt built-in.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/msg.c b/src/msg.c
@@ -62,6 +62,11 @@ kore_msg_parent_init(void)
continue;
}
+#if !defined(KORE_USE_ACME)
+ if (idx == KORE_WORKER_ACME_IDX)
+ continue;
+#endif
+
kw = kore_worker_data(idx);
kore_msg_parent_add(kw);
}