don't silently exit if the regdomain.xml file is missing
This commit is contained in:
parent
d3d6c95298
commit
7842b6be31
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181198
@ -185,7 +185,7 @@ getregdata(void)
|
|||||||
if (rdp == NULL) {
|
if (rdp == NULL) {
|
||||||
rdp = lib80211_alloc_regdata();
|
rdp = lib80211_alloc_regdata();
|
||||||
if (rdp == NULL)
|
if (rdp == NULL)
|
||||||
exit(-1);
|
errx(-1, "missing or corrupted regdomain database");
|
||||||
}
|
}
|
||||||
return rdp;
|
return rdp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user