From 51fe974ee5a7e2dc8e13c6b24605b1c9e0cf867e Mon Sep 17 00:00:00 2001 From: Jacques de Laval Date: Wed, 24 Feb 2021 18:58:05 +0100 Subject: [PATCH] Use FINIT_RCSD instead of hard coded value Signed-off-by: Jacques de Laval --- src/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.c b/src/conf.c index 7eab5133..0b68aa7f 100644 --- a/src/conf.c +++ b/src/conf.c @@ -675,8 +675,8 @@ int conf_reload(void) parse_conf(FINIT_CONF); /* Next, read all *.conf in /etc/finit.d/ */ - glob("/etc/finit.d/*.conf", 0, NULL, &gl); - glob("/etc/finit.d/enabled/*.conf", GLOB_APPEND, NULL, &gl); + glob(FINIT_RCSD "/*.conf", 0, NULL, &gl); + glob(FINIT_RCSD "/enabled/*.conf", GLOB_APPEND, NULL, &gl); for (i = 0; i < gl.gl_pathc; i++) { char *path = gl.gl_pathv[i];