From 197372c28d69ff17d9d33e134569701636e8f5f2 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 14 Mar 2014 17:37:38 +0000 Subject: Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL conversion. Sponsored by: EMC / Isilon Storage Division MFC after: 1 week --- usr.sbin/pkg/config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr.sbin') 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)); -- cgit v1.3