diff options
author | Jason Parker <jparker@digium.com> | 2010-04-19 21:49:30 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2010-04-19 21:49:30 +0000 |
commit | 7965dd9509ffc5fd1ba167bb99f46f89e4f5e94a (patch) | |
tree | d2eb041f9f1e9d1a13963439ddb9f72aabadce0c /main/indications.c | |
parent | 990ccdd05f17eb845fdd255568d44eac3833bf14 (diff) |
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.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@257947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/indications.c')
-rw-r--r-- | main/indications.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/indications.c b/main/indications.c index 78010e0e7..a45da4643 100644 --- a/main/indications.c +++ b/main/indications.c @@ -1039,7 +1039,7 @@ static int load_indications(int reload) 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; } |