提交 69cc7014 authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-6355 remove check on delete

上级 3c95a52f
......@@ -1642,9 +1642,8 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_parse_file(const char *file)
if (preprocess(SWITCH_GLOBAL_dirs.conf_dir, file, write_fd, 0) > -1) {
fclose(write_fd);
write_fd = NULL;
if ( unlink (new_file)) {
goto done;
}
unlink (new_file);
if ( rename(new_file_tmp,new_file) ) {
goto done;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论