Skip to content

Commit

Permalink
util (bleopt): fix a bug that a new setting is not defined with "name:="
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Apr 10, 2020
1 parent 5ba9400 commit f2dbad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.sh
Expand Up @@ -46,7 +46,7 @@ function bleopt {

case "$type" in
(a*)
[[ ${!var} == "$value" ]] && continue
[[ ${!var+set} && ${!var} == "$value" ]] && continue
if ble/is-function bleopt/check:"${var#bleopt_}"; then
if ! bleopt/check:"${var#bleopt_}"; then
error_flag=1
Expand Down

0 comments on commit f2dbad0

Please sign in to comment.