summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-22 08:14:38 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-22 08:14:38 +0000
commit8d7cba497938020ee5e8f408e6a52cd37274722b (patch)
tree6b8fefa0a6c059b4a826c16db789677d4423e8a4 /src/config
parent9107d979ad9bef3bd710efae86102286054136ee (diff)
downloadtipidee-8d7cba497938020ee5e8f408e6a52cd37274722b.tar.xz
Make /etc configurable; fix some bugs
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/tipidee-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/tipidee-config.c b/src/config/tipidee-config.c
index 235725d..3a8d999 100644
--- a/src/config/tipidee-config.c
+++ b/src/config/tipidee-config.c
@@ -87,8 +87,8 @@ static inline void conf_output (char const *ofile, unsigned int omode)
int main (int argc, char const *const *argv, char const *const *envp)
{
- char const *ifile = "/etc/tipidee.conf" ;
- char const *ofile = "/etc/tipidee.conf.cdb" ;
+ char const *ifile = TIPIDEE_SYSCONFPREFIX "tipidee.conf" ;
+ char const *ofile = TIPIDEE_SYSCONFPREFIX "tipidee.conf.cdb" ;
unsigned int omode = 0644 ;
PROG = "tipidee-config" ;