From 82056077166623f4113a3b9797084fa9a60e7ff3 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Sun, 13 Sep 2020 09:07:43 +0000 Subject: [PATCH] Fixed incorrect Signal related message at s3fs initialization and termination --- src/s3fs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 9e8fafb..310f452 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -3291,7 +3291,7 @@ static void* s3fs_init(struct fuse_conn_info* conn) } // Signal object - if(S3fsSignals::Initialize()){ + if(!S3fsSignals::Initialize()){ S3FS_PRN_ERR("Failed to initialize signal object, but continue..."); } @@ -3303,7 +3303,7 @@ static void s3fs_destroy(void*) S3FS_PRN_INFO("destroy"); // Signal object - if(S3fsSignals::Destroy()){ + if(!S3fsSignals::Destroy()){ S3FS_PRN_WARN("Failed to clean up signal object."); }