Index: conf_apache.c ================================================================== --- conf_apache.c +++ conf_apache.c @@ -64,10 +64,11 @@ snprintf(includepath, sizeof(includepath) - 1, "%s/%s", pathname, dinfo->d_name); lcpcafret = lc_process_conf_apache_include(includepath, pathprefix); if (lcpcafret < 0) { retval = -1; /* XXX: should we break here (abort further including of files from a directory if one fails ?) */ + break; } } closedir(dh); } else { @@ -347,10 +348,11 @@ #endif } lc_errfile = local_lc_errfile; lc_errline = local_lc_errline; retval = -1; + break; } else { lc_errno = save_lc_errno; } /* Remove the "cmd" part of the buffer. */