This commit is contained in:
David Kocik 2020-12-01 12:01:01 +01:00
parent 247f3a7dbe
commit 994b69f19b
2 changed files with 1 additions and 2 deletions

View file

@ -436,7 +436,7 @@ CopyFileResult copy_file_inner(const std::string& from, const std::string& to, s
ec.clear();
boost::filesystem::copy_file(source, target, boost::filesystem::copy_option::overwrite_if_exists, ec);
if (ec) {
error_message = ec.message()/*decode_path(ec.message().c_str())*/;
error_message = ec.message();
return FAIL_COPY_FILE;
}
ec.clear();