diff --git a/s3/libirods_s3.cpp b/s3/libirods_s3.cpp index b34804d3..1b06ca15 100644 --- a/s3/libirods_s3.cpp +++ b/s3/libirods_s3.cpp @@ -2060,7 +2060,7 @@ irods::error s3FileStatPlugin( result = ERROR(S3_FILE_STAT_ERR, msg.str()); } - else if( savedProperties.contentLength >= 0) { + else { _statbuf->st_mode = S_IFREG; _statbuf->st_nlink = 1; _statbuf->st_uid = getuid (); @@ -2068,15 +2068,6 @@ irods::error s3FileStatPlugin( _statbuf->st_atime = _statbuf->st_mtime = _statbuf->st_ctime = savedProperties.lastModified; _statbuf->st_size = savedProperties.contentLength; } - - else { - std::stringstream msg; - msg << __FUNCTION__; - msg << " - S3 object not found: \""; - msg << _object->physical_path(); - msg << "\""; - result = ERROR(S3_FILE_STAT_ERR, msg.str()); - } } } }