aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-add.cxx')
-rw-r--r--bpkg/rep-add.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/bpkg/rep-add.cxx b/bpkg/rep-add.cxx
index d18536f..7adb843 100644
--- a/bpkg/rep-add.cxx
+++ b/bpkg/rep-add.cxx
@@ -56,9 +56,7 @@ namespace bpkg
shared_ptr<repository> root (db.load<repository> (""));
if (!root->complements.insert (lazy_shared_ptr<repository> (db, r)).second)
- {
fail << rn << " is already a repository of this configuration";
- }
db.update (root);
t.commit ();