[Asterisk-cvs] asterisk asterisk.c,1.117,1.118
markster at lists.digium.com
markster at lists.digium.com
Sat Aug 28 12:12:32 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv32368
Modified Files:
asterisk.c
Log Message:
Warn if unable to open an overridden config file (but #2285)
Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- asterisk.c 27 Aug 2004 03:28:32 -0000 1.117
+++ asterisk.c 28 Aug 2004 17:12:01 -0000 1.118
@@ -1486,6 +1486,8 @@
if (option_overrideconfig == 1) {
cfg = ast_load((char *)ast_config_AST_CONFIG_FILE);
+ if (!cfg)
+ ast_log(LOG_WARNING, "Unable to open specified master config file '%s', using builtin defaults\n", ast_config_AST_CONFIG_FILE);
} else {
cfg = ast_load(config);
}
More information about the svn-commits
mailing list