From b8bd3d84590d9adee7084f066f0e3e8c75a99245 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 23 Aug 2015 09:53:20 +0200 Subject: [PATCH] Stop when doxygen configuration file ("Doxyfile") cannot be read When the configuration file cannot be read a default configuration is used ad as the error message "error: cannot open file `Doxyfile' for reading" is show at the top of the output this is easily overseen. By stopping the doxygen process it is made clearer that there is an error. --- src/config.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.l b/src/config.l index 1bbe320e12a..5949b46e20e 100644 --- a/src/config.l +++ b/src/config.l @@ -1756,6 +1756,7 @@ static QCString configFileToString(const char *name) if (!fileOpened) { config_err("cannot open file `%s' for reading\n",name); + exit(1); } return ""; }