diff --git a/repertory/librepertory/src/drives/fuse/fuse_drive.cpp b/repertory/librepertory/src/drives/fuse/fuse_drive.cpp index 74168c65..2c9a4ade 100644 --- a/repertory/librepertory/src/drives/fuse/fuse_drive.cpp +++ b/repertory/librepertory/src/drives/fuse/fuse_drive.cpp @@ -1315,7 +1315,7 @@ auto fuse_drive::truncate_impl(std::string api_path, off_t size) -> api_error { return res; } - if (fm_->get_open_file(handle, true, open_file)) { + if (not fm_->get_open_file(handle, true, open_file)) { return api_error::invalid_handle; }