X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/320598d40fb55001274c097d4a1a09c31b8d0335..9f28e855aad11d25c0a69a7e59825c07bdefcafe:/server/dump.c diff --git a/server/dump.c b/server/dump.c index 5809b82..84b45d0 100644 --- a/server/dump.c +++ b/server/dump.c @@ -423,9 +423,9 @@ int main(int argc, char **argv) { fatal(0, "specify only a dump file name"); path = argv[optind]; } - if(config_read()) fatal(0, "cannot read configuration"); + if(config_read(0)) fatal(0, "cannot read configuration"); trackdb_init(recover); - trackdb_open(); + trackdb_open(TRACKDB_NO_UPGRADE); if(dump) { /* we write to a temporary file and rename into place */ byte_xasprintf(&tmp, "%s.%lx.tmp", path, (unsigned long)getpid());