]> granicus.if.org Git - pdns/commitdiff
again discovered by Imre Gergely, do not get confused when asked to reload a non...
authorBert Hubert <bert.hubert@netherlabs.nl>
Tue, 2 Mar 2010 17:47:37 +0000 (17:47 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Tue, 2 Mar 2010 17:47:37 +0000 (17:47 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1532 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/pdns_recursor.cc

index 8c99081d45b0d1a1370aad117642bdb66f212174..38d659375e16bf8395efd1a3db886a41100ed51d 100644 (file)
@@ -1487,7 +1487,7 @@ void parseACLs()
     ifstream ifs(::arg()["allow-from-file"].c_str());
     if(!ifs) {
       delete allowFrom; 
-      throw AhuException("Could not open '"+::arg()["allow-from-file"]+"': "+stringerror());
+      throw runtime_error("Could not open '"+::arg()["allow-from-file"]+"': "+stringerror());
     }
 
     string::size_type pos;