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

This commit is contained in:
Sam Leffler 2008-08-02 18:06:27 +00:00
parent d3d6c95298
commit 7842b6be31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181198

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;
}