git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9793 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-10-02 17:40:41 +00:00
parent f45cac0c10
commit e91b1e3da7
1 changed files with 2 additions and 3 deletions

View File

@ -269,7 +269,7 @@ int main(int argc, char *argv[])
int known_opt;
int high_prio = 0;
switch_core_flag_t flags = SCF_USE_SQL;
int ret;
int ret = 0;
switch_status_t destroy_status;
switch_file_t *fd;
switch_memory_pool_t *pool = NULL;
@ -617,8 +617,7 @@ int main(int argc, char *argv[])
}
if (destroy_status == SWITCH_STATUS_RESTART) {
execv(argv[0], argv);
ret = 0;
ret = execv(argv[0], argv);
}
return ret;