1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Add /etc/default/cdrdao to the set of config files read.
Author: Andrew Suffield <asuffield@debian.org>
Forwarded: https://github.com/cdrdao/cdrdao/pull/39
Reviewed-by: Sven Geuer <sge@debian.org>
Last-Update: 2025-08-22
---
dao/main.cc | 4 ++++
1 file changed, 4 insertions(+)
--- a/dao/main.cc
+++ b/dao/main.cc
@@ -2458,6 +2458,10 @@
if (settings->read(settingsPath) == 0)
log_message(3, "Read settings from \"%s\".", settingsPath);
+ settingsPath = "/etc/default/cdrdao";
+ if (settings->read(settingsPath) == 0)
+ log_message(3, "Read settings from \"%s\".", settingsPath);
+
settingsPath = NULL;
if ((homeDir = getenv("HOME")) != NULL) {
|