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) | |
Notes
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 db4a434759cb5..e46da4a70e796 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)); |
