diff options
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r-- | bpkg/cfg-create.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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"; } |