]> git.pld-linux.org Git - packages/chrony.git/blame - conf.d.patch
Rel 2; parse /etc/ntp/chrony.d/*.conf by default. Don't fail if there are no files...
[packages/chrony.git] / conf.d.patch
CommitLineData
34f29393
AM
1diff -urN chrony-3.5.1.org/conf.c chrony-3.5.1/conf.c
2--- chrony-3.5.1.org/conf.c 2020-08-19 16:24:04.000000000 +0200
3+++ chrony-3.5.1/conf.c 2021-09-23 08:40:12.354030905 +0200
4@@ -1359,8 +1359,10 @@
5 GLOB_NOMAGIC |
6 #endif
7 GLOB_ERR, NULL, &gl)) != 0) {
8- if (r != GLOB_NOMATCH)
9- LOG_FATAL("Could not search for files matching %s", line);
10+ if (r != GLOB_NOMATCH) {
11+ DEBUG_LOG("Could not search for files matching %s", line);
12+ return;
13+ }
14
15 DEBUG_LOG("glob of %s failed", line);
16 return;
This page took 0.106097 seconds and 4 git commands to generate.