X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..5bac5b78c1046bd08a39d3d18c756bbf0566c629:/server/dbupgrade.c diff --git a/server/dbupgrade.c b/server/dbupgrade.c index e89cd4e..09dd789 100644 --- a/server/dbupgrade.c +++ b/server/dbupgrade.c @@ -15,6 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +/** @file server/dbupgrade.c + * @brief Database upgrade utility + * + * Invoked by the server when necessary. + */ #include "disorder-server.h" static DB_TXN *global_tid; @@ -328,7 +333,7 @@ int main(int argc, char **argv) { openlog(progname, LOG_PID, LOG_DAEMON); log_default = &log_syslog; } - if(config_read(0)) fatal(0, "cannot read configuration"); + if(config_read(0, NULL)) fatal(0, "cannot read configuration"); /* Open the database */ trackdb_init(TRACKDB_NO_RECOVER); trackdb_open(TRACKDB_OPEN_FOR_UPGRADE);