From: Bert Hubert Date: Tue, 2 Mar 2010 17:47:37 +0000 (+0000) Subject: again discovered by Imre Gergely, do not get confused when asked to reload a non... X-Git-Tag: rec-3.2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c61b9d06f234b648e3bf21bab751abea8c8a632;p=pdns again discovered by Imre Gergely, do not get confused when asked to reload a non-existant allow-from-file. Closes ticket 274. git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1532 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 8c99081d4..38d659375 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -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;