diff --git a/construct/construct.cc b/construct/construct.cc index 1454a325a..1ccf4825f 100644 --- a/construct/construct.cc +++ b/construct/construct.cc @@ -533,9 +533,12 @@ applyargs() ircd::db::open_recover.set("recover"); if(repairdb) + { ircd::db::open_repair.set("true"); - else - ircd::db::open_repair.set("false"); + nocompact = true; + cmdline = true; + } + else ircd::db::open_repair.set("false"); if(nocompact) ircd::db::auto_compact.set("false");