Babeld reset option_cb if section is ignored
This commit is contained in:
parent
d032a32f9d
commit
edad3b3ec5
1 changed files with 5 additions and 1 deletions
|
@ -116,7 +116,11 @@ babel_config_cb() {
|
|||
{
|
||||
local _ignored
|
||||
config_get_bool _ignored "$section" 'ignore' 0
|
||||
[ "$_ignored" == "1" ] && return
|
||||
[ "$_ignored" == "1" ] &&
|
||||
{
|
||||
option_cb() { return; }
|
||||
return
|
||||
}
|
||||
|
||||
local _ifname
|
||||
config_get _ifname "$section" 'ifname'
|
||||
|
|
Loading…
Reference in a new issue