]> git.dolda2000.com Git - doldaconnect.git/commitdiff
Use findfile instead of findconfig file.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 14 Nov 2006 03:56:10 +0000 (03:56 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 14 Nov 2006 03:56:10 +0000 (03:56 +0000)
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

index dddd8f14cbc6ab3bf0d16a73198875ada7bab6a5..6124129db4cd6e7ba7290d3c85096b696aeb71d0 100644 (file)
@@ -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);