Don't unload config on reload, when config has not changed.

(Closes issue #12652)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@116631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-05-15 17:58:22 +00:00
parent 028016b401
commit 1207e9207e

View File

@@ -104,7 +104,7 @@ static int load_config(int reload)
ast_log(LOG_WARNING, "unable to load config: %s\n", config);
return 0;
} else if (cfg == CONFIG_STATUS_FILEUNCHANGED)
return 0;
return 1;
if (!(var = ast_variable_browse(cfg, "csv"))) {
ast_config_destroy(cfg);