diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-03-22 10:47:49 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-03-22 10:47:49 +0000 |
commit | 4cc5e3a4e513be11c65c86f07555d496ed75923f (patch) | |
tree | e83c3bd9e5706993043b7df66aac1cc2dee154fd /usr.sbin/pkg | |
parent | cbf71ae1cf07231a229b9dbbc54154af65327287 (diff) | |
download | FreeBSD-src-4cc5e3a4e513be11c65c86f07555d496ed75923f.zip FreeBSD-src-4cc5e3a4e513be11c65c86f07555d496ed75923f.tar.gz |
MFC r263181:
Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion.
Diffstat (limited to 'usr.sbin/pkg')
-rw-r--r-- | usr.sbin/pkg/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/pkg/config.c b/usr.sbin/pkg/config.c index db4a434..e46da4a 100644 --- a/usr.sbin/pkg/config.c +++ b/usr.sbin/pkg/config.c @@ -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)); |