This commit is contained in:
2024-08-23 21:28:12 -05:00
parent f31de883e4
commit f7dbbb9707

View File

@ -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;
} }