dect
/
asterisk
Archived
13
0
Fork 0

Don't die if no skinny config

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1517 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2003-09-14 04:03:28 +00:00
parent e85fbb7544
commit 8079aac16b
1 changed files with 2 additions and 2 deletions

View File

@ -2473,14 +2473,14 @@ static int reload_config(void)
if (gethostname(ourhost, sizeof(ourhost))) {
ast_log(LOG_WARNING, "Unable to get hostname, Skinny disabled\n");
return 1;
return 0;
}
cfg = ast_load(config);
/* We *must* have a config file otherwise stop immediately */
if (!cfg) {
ast_log(LOG_NOTICE, "Unable to load config %s, Skinny disabled\n", config);
return 1;
return 0;
}
/* load the general section */