Browse Source

engine: common: don't try to delete now non-existing config file after backing up

pull/2/head
Alibek Omarov 2 years ago
parent
commit
41aa867a21
  1. 1
      engine/common/con_utils.c

1
engine/common/con_utils.c

@ -1355,7 +1355,6 @@ void Host_FinalizeConfig( file_t *f, const char *config ) @@ -1355,7 +1355,6 @@ void Host_FinalizeConfig( file_t *f, const char *config )
FS_Close( f );
FS_Delete( backup );
FS_Rename( config, backup );
FS_Delete( config );
FS_Rename( newcfg, config );
}

Loading…
Cancel
Save