X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fconfig.c;h=a9ad7f7115f16551ccd41cad69b9995e9fbd0b79;hb=1a62d80e7f7e87212cf24401f3c0e884d701b24c;hp=ed8fe1dc0d40475ef8f1622f45aba7de444048ce;hpb=7b75df63a9e144134aeb3c25278ef6769dc3beb2;p=citadel.git diff --git a/citadel/config.c b/citadel/config.c index ed8fe1dc0..a9ad7f711 100644 --- a/citadel/config.c +++ b/citadel/config.c @@ -31,15 +31,18 @@ void get_config(void) { if (chdir(home_specified ? bbs_home_directory : BBSDIR) != 0) { fprintf(stderr, - "Cannot start.\nThere is no Citadel installation in %s\n%s\n", + "This program could not be started.\n" + "Unable to change directory to %s\n" + "Error: %s\n", (home_specified ? bbs_home_directory : BBSDIR), strerror(errno)); exit(1); } cfp = fopen("citadel.config", "rb"); if (cfp == NULL) { - fprintf(stderr, "Cannot start.\n"); - fprintf(stderr, "There is no citadel.config in %s\n%s\n", + fprintf(stderr, "This program could not be started.\n" + "Unable to open %s/citadel.config\n" + "Error: %s\n", (home_specified ? bbs_home_directory : BBSDIR), strerror(errno)); exit(1);