forked from Mirrors/freeswitch
FS-6355 remove check on delete
This commit is contained in:
parent
3c95a52ff6
commit
69cc7014e4
@ -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) {
|
if (preprocess(SWITCH_GLOBAL_dirs.conf_dir, file, write_fd, 0) > -1) {
|
||||||
fclose(write_fd);
|
fclose(write_fd);
|
||||||
write_fd = NULL;
|
write_fd = NULL;
|
||||||
if ( unlink (new_file)) {
|
unlink (new_file);
|
||||||
goto done;
|
|
||||||
}
|
|
||||||
if ( rename(new_file_tmp,new_file) ) {
|
if ( rename(new_file_tmp,new_file) ) {
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user