From a14677a9b3bdfaa59fd4a010bff3530472768954 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 2 Jul 2021 12:03:24 +0300 Subject: Backup --- bpkg/cfg-create.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/cfg-create.cxx') diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index 98d6aea..42c7cea 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -54,7 +54,7 @@ namespace bpkg hc = normalize (*host_config, "host configuration"); database db (hc, trace, false /* pre_attach */); - if (db.type != "host") + if (db.type != host_config_type) fail << "host configuration " << hc << " is of '" << db.type << "' type"; } -- cgit v1.1