From 236fd361e521387913c3349e2d27ea8ab724ff13 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 22 Sep 2020 06:43:29 -0700 Subject: [PATCH] construct: -repairdb implies -nocompact and -console. --- construct/construct.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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");