diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-03-14 17:37:38 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2014-03-14 17:37:38 +0000 |
commit | 197372c28d69ff17d9d33e134569701636e8f5f2 (patch) | |
tree | 025d8dc755c065e885ab1c33b4ec7b239902112a /usr.sbin | |
parent | 97c3a7663805b8181d3eb83b02fb69b0d28a555e (diff) | |
download | src-197372c28d69ff17d9d33e134569701636e8f5f2.tar.gz src-197372c28d69ff17d9d33e134569701636e8f5f2.zip |
Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion.
Sponsored by: EMC / Isilon Storage Division
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=263181
Diffstat (limited to 'usr.sbin')
-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 db4a434759cb..e46da4a70e79 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)); |