don't silently exit if the regdomain.xml file is missing

This commit is contained in:
sam 2008-08-02 18:06:27 +00:00
parent 64e56d4fb3
commit 1a57b0b9b6

View File

@ -185,7 +185,7 @@ getregdata(void)
if (rdp == NULL) {
rdp = lib80211_alloc_regdata();
if (rdp == NULL)
exit(-1);
errx(-1, "missing or corrupted regdomain database");
}
return rdp;
}