Skip to content

Commit

Permalink
make rec_control respect include-dir; closes #6536
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed May 1, 2018
1 parent ae6e15f commit 14cd977
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pdns/rec_control.cc
Expand Up @@ -66,10 +66,7 @@ static void initArguments(int argc, char** argv)

cleanSlashes(configname);

if(!::arg().preParseFile(configname.c_str(), "socket-dir", ""))
cerr<<"Warning: unable to parse configuration file '"<<configname<<"'"<<endl;
if(!::arg().preParseFile(configname.c_str(), "chroot", ""))
cerr<<"Warning: unable to parse configuration file '"<<configname<<"'"<<endl;
arg().laxFile(configname.c_str());

arg().laxParse(argc,argv); // make sure the commandline wins

Expand Down

0 comments on commit 14cd977

Please sign in to comment.