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) {
|
||||
fclose(write_fd);
|
||||
write_fd = NULL;
|
||||
if ( unlink (new_file)) {
|
||||
goto done;
|
||||
}
|
||||
unlink (new_file);
|
||||
|
||||
if ( rename(new_file_tmp,new_file) ) {
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user