X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fconfig.c;h=81f93989b2120dbc3d571961d1fe79eb37f8f62d;hp=3e9ac8b07f68a59f18b3fda2bf9286a194a888b7;hb=e73e0afde89f43dd19d53c380accb2d1877b03f2;hpb=638df7bdf8a26f581e746e00ae2dd3e8adca8c78 diff --git a/citadel/config.c b/citadel/config.c index 3e9ac8b07..81f93989b 100644 --- a/citadel/config.c +++ b/citadel/config.c @@ -1,7 +1,7 @@ /* * Read and write the citadel.config file * - * Copyright (c) 1987-2020 by the citadel.org team + * Copyright (c) 1987-2021 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3. @@ -232,14 +232,14 @@ void initialize_config_system(void) { exit(CTDLEXIT_LIBCITADEL); } - if (chdir(ctdl_bbsbase_dir) != 0) { - fprintf(stderr, - "This program could not be started.\nUnable to change directory to %s\nError: %s\n", - ctdl_bbsbase_dir, - strerror(errno) - ); - exit(CTDLEXIT_HOME); - } + //if (chdir(ctdl_bbsbase_dir) != 0) { + //fprintf(stderr, + //"This program could not be started.\nUnable to change directory to %s\nError: %s\n", + //ctdl_bbsbase_dir, + //strerror(errno) + //); + //exit(CTDLEXIT_HOME); + //} memset(&lconfig, 0, sizeof(struct legacy_config)); cfp = fopen(file_citadel_config, "rb");