0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

construct: -repairdb implies -nocompact and -console.

This commit is contained in:
Jason Volk 2020-09-22 06:43:29 -07:00
parent c84a211b4c
commit 236fd361e5

View file

@ -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");