[asterisk-commits] qwell: trunk r257947 - /trunk/main/indications.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 19 16:49:31 CDT 2010


Author: qwell
Date: Mon Apr 19 16:49:30 2010
New Revision: 257947

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=257947
Log:
Don't consider a missing indications.conf to be a critical error.

There were many changes in revision 176627 which would avoid the error that a
missing config would have caused.  Other than this, there are no other config
files (including asterisk.conf, surprisingly) that are required.

Modified:
    trunk/main/indications.c

Modified: trunk/main/indications.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/indications.c?view=diff&rev=257947&r1=257946&r2=257947
==============================================================================
--- trunk/main/indications.c (original)
+++ trunk/main/indications.c Mon Apr 19 16:49:30 2010
@@ -1039,7 +1039,7 @@
 
 	if (cfg == CONFIG_STATUS_FILEMISSING || cfg == CONFIG_STATUS_FILEINVALID) {
 		ast_log(LOG_ERROR, "Can't find indications config file %s.\n", config);
-		return -1;
+		return 0;
 	} else if (cfg == CONFIG_STATUS_FILEUNCHANGED) {
 		return 0;
 	}




More information about the asterisk-commits mailing list