diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-07-02 12:03:24 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-07-02 12:03:24 +0300 |
commit | a14677a9b3bdfaa59fd4a010bff3530472768954 (patch) | |
tree | c0814e96d3023ea22ce6117067f90e51823e6164 /bpkg/cfg-create.cxx | |
parent | ca439ff4ca3f36a803419575e2db3a3ab4775c4b (diff) |
Backupbuild2-config
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"; } |