diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-29 08:58:39 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-29 08:58:39 +0000 |
commit | 0ad875b34e788f24d688fad41c7e9b9223f65ad3 (patch) | |
tree | 7f719ed616afdbbbad2bb27105eb400de1bf9c5a | |
parent | 8e2241a4debeb71c1b18f55c73282394f8adaf46 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@190993 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/indications.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/indications.c b/main/indications.c index 5b26ff239..f0aba5ff3 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; |