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:
parent
c84a211b4c
commit
236fd361e5
1 changed files with 5 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue