提交 377fb371 authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-3779 --resolve hopefully this is ok

上级 691f7935
......@@ -2473,7 +2473,9 @@ static int switch_system_fork(const char *cmd, switch_bool_t wait)
switch_close_extra_files(NULL, 0);
set_low_priority();
system(dcmd);
if (system(dcmd) == -1) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Failed to execute because of a command error : %s\n", dcmd);
}
free(dcmd);
exit(0);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论