From de1a4f48c1b6bc77c8dd136bfb0fe29af2e6701f Mon Sep 17 00:00:00 2001 From: fredrik Date: Tue, 14 Nov 2006 03:56:10 +0000 Subject: [PATCH] Use findfile instead of findconfig file. Add filldef to findfile. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@734 959494ce-11ee-0310-bf91-de5d638817bd --- daemon/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/main.c b/daemon/main.c index dddd8f1..6124129 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -460,7 +460,7 @@ int main(int argc, char **argv) preinit(0); if(configfile == NULL) { - if((configfile = findconfigfile()) == NULL) + if((configfile = findfile("doldacond.conf", "doldacond", NULL, 0)) == NULL) { flog(LOG_CRIT, "could not find a configuration file"); exit(1); -- 2.11.0