]> granicus.if.org Git - pdns/commitdiff
Fixes #571 "by error message". The problem is that we can't detect the difference...
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 24 May 2013 13:34:52 +0000 (15:34 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 24 May 2013 13:34:52 +0000 (15:34 +0200)
For switches we get away with that by having an explicit non-empty default, but we can't do that for filenames.

pdns/pdnssec.cc

index 78cac42f5ce3304bbf16368e80708eecf1cd2745..d218bbf2ceb559b98032a9a0d6b9babfcb1db58e 100644 (file)
@@ -773,7 +773,8 @@ bool secureZone(DNSSECKeeper& dk, const std::string& zone)
     cerr<<"Failed to secure zone. Is your backend dnssec enabled? (set \n";
     cerr<<"gsqlite3-dnssec, or gmysql-dnssec etc). Check this first.\n";
     cerr<<"If you run with the BIND backend, make sure you have configured\n";
-    cerr<<"it to use DNSSEC with 'bind-dnssec-db' and 'pdnssec create-bind-db'!\n";
+    cerr<<"it to use DNSSEC with 'bind-dnssec-db=/path/fname' and\n";
+    cerr<<"'pdnssec create-bind-db /path/fname'!\n";
     return false;
   }
 
@@ -974,8 +975,7 @@ try
 
   loadMainConfig(g_vm["config-dir"].as<string>());
   reportAllTypes();
-  
-  
+
   if(cmds[0] == "create-bind-db") {
     if(cmds.size() != 2) {
       cerr << "Syntax: pdnssec create-bind-db fname"<<endl;