Just return outright on a reload since we have already processed configuration.
authorMark Michelson <mmichelson@digium.com>
Thu, 13 Jun 2013 18:26:25 +0000 (18:26 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 13 Jun 2013 18:26:25 +0000 (18:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391699 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features_config.c

index 6d5cf1a..a40d0f7 100644 (file)
@@ -1560,7 +1560,7 @@ int ast_features_config_reload(void)
        if (aco_process_config(&cfg_info, 1) == ACO_PROCESS_ERROR) {
                return -1;
        }
        if (aco_process_config(&cfg_info, 1) == ACO_PROCESS_ERROR) {
                return -1;
        }
-       return load_config();
+       return 0;
 }
 
 int ast_features_config_init(void)
 }
 
 int ast_features_config_init(void)