Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion.
Sponsored by: EMC / Isilon Storage Division MFC after: 1 week
This commit is contained in:
parent
6540958349
commit
bea222febe
@ -594,6 +594,10 @@ config_parse(ucl_object_t *obj, pkg_conf_file_t conftype)
|
||||
next);
|
||||
}
|
||||
break;
|
||||
case PKG_CONFIG_BOOL:
|
||||
temp_config[i].value =
|
||||
strdup(ucl_object_toboolean(cur) ? "yes" : "no");
|
||||
break;
|
||||
default:
|
||||
/* Normal string value. */
|
||||
temp_config[i].value = strdup(ucl_object_tostring(cur));
|
||||
|
Loading…
Reference in New Issue
Block a user