fix
This commit is contained in:
@ -888,7 +888,7 @@ auto s3_provider::upload_file_impl(const std::string &api_path,
|
|||||||
const std::string &source_path,
|
const std::string &source_path,
|
||||||
stop_type &stop_requested) -> api_error {
|
stop_type &stop_requested) -> api_error {
|
||||||
auto file = utils::file::file{source_path};
|
auto file = utils::file::file{source_path};
|
||||||
if (file.exists()) {
|
if (not file.exists()) {
|
||||||
return api_error::comm_error;
|
return api_error::comm_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user