From c116ea97917faef92654057c8bbaa2ffd5dbc079 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sat, 28 Dec 2024 14:21:02 -0600 Subject: [PATCH] fix --- repertory/librepertory/src/drives/fuse/fuse_drive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }