FS-3779 --resolve

This commit is contained in:
Jeff Lenk 2011-12-21 18:35:24 -06:00
parent 281f88ae39
commit 9abd5c5da5
1 changed files with 2 additions and 2 deletions

View File

@ -2456,7 +2456,7 @@ static int switch_system_fork(const char *cmd, switch_bool_t wait)
static int switch_system_fork(const char *cmd, switch_bool_t wait) static int switch_system_fork(const char *cmd, switch_bool_t wait)
{ {
int pid; int pid, i;
char *dcmd = strdup(cmd); char *dcmd = strdup(cmd);
switch_core_set_signal_handlers(); switch_core_set_signal_handlers();
@ -2472,7 +2472,7 @@ static int switch_system_fork(const char *cmd, switch_bool_t wait)
switch_close_extra_files(NULL, 0); switch_close_extra_files(NULL, 0);
set_low_priority(); set_low_priority();
system(dcmd); i = system(dcmd);
free(dcmd); free(dcmd);
exit(0); exit(0);
} }