Core: Call CreateFullPath before using Backup directory
This commit is contained in:
parent
fa7d6c8993
commit
95a0897491
|
@ -39,6 +39,8 @@ static bool CopyBackupFile(const std::string& path_from, const std::string& path
|
|||
if (!File::Exists(path_from))
|
||||
return false;
|
||||
|
||||
File::CreateFullPath(path_to);
|
||||
|
||||
return File::Copy(path_from, path_to);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue