Merge pull request #156 from troglobit/fix-hard-coded-rcsd

Use FINIT_RCSD instead of hard coded value
This commit is contained in:
Joachim Wiberg authored and GitHub committed 2021-02-24 21:09:12 +01:00
commit 84248e1c56
1 file changed
+2 -2
+2 -2
View File
@@ -675,8 +675,8 @@ int conf_reload(void)
parse_conf(FINIT_CONF); parse_conf(FINIT_CONF);
/* Next, read all *.conf in /etc/finit.d/ */ /* Next, read all *.conf in /etc/finit.d/ */
glob("/etc/finit.d/*.conf", 0, NULL, &gl); glob(FINIT_RCSD "/*.conf", 0, NULL, &gl);
glob("/etc/finit.d/enabled/*.conf", GLOB_APPEND, NULL, &gl); glob(FINIT_RCSD "/enabled/*.conf", GLOB_APPEND, NULL, &gl);
for (i = 0; i < gl.gl_pathc; i++) { for (i = 0; i < gl.gl_pathc; i++) {
char *path = gl.gl_pathv[i]; char *path = gl.gl_pathv[i];