From: Russell Bryant Date: Wed, 29 Apr 2009 08:58:39 +0000 (+0000) Subject: Log an error message if indications.conf is not found. X-Git-Tag: 11.0.0-beta1~4979 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77f08759b53eafc1f448c016c86d34dc58f51b76;p=thirdparty%2Fasterisk.git Log an error message if indications.conf is not found. (closes issue #14990) Reported by: tzafrir Patches: indications_err.diff uploaded by tzafrir (license 46) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@190993 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/indications.c b/main/indications.c index 5b26ff239b..f0aba5ff32 100644 --- a/main/indications.c +++ b/main/indications.c @@ -1038,6 +1038,7 @@ static int load_indications(int reload) cfg = ast_config_load2(config, "indications", config_flags); if (cfg == CONFIG_STATUS_FILEMISSING || cfg == CONFIG_STATUS_FILEINVALID) { + ast_log(LOG_ERROR, "Can't find indications config file %s.\n", config); return -1; } else if (cfg == CONFIG_STATUS_FILEUNCHANGED) { return 0;