diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-03-14 17:37:38 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-03-14 17:37:38 +0000 |
commit | bea222febea2dde0e03d42099b8f018171f9618c (patch) | |
tree | 025d8dc755c065e885ab1c33b4ec7b239902112a /usr.sbin/pkg | |
parent | 65409583499b1edf5b3d65b0ce1eff00fc6bef91 (diff) | |
download | FreeBSD-src-bea222febea2dde0e03d42099b8f018171f9618c.zip FreeBSD-src-bea222febea2dde0e03d42099b8f018171f9618c.tar.gz |
Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion.
Sponsored by: EMC / Isilon Storage Division
MFC after: 1 week
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)); |