diff --git a/source/client/src/clientMonitor.c b/source/client/src/clientMonitor.c index f9586da366..4c1a484c20 100644 --- a/source/client/src/clientMonitor.c +++ b/source/client/src/clientMonitor.c @@ -740,11 +740,9 @@ static void monitorSendAllSlowLogFromTempDir(int64_t clusterId) { tscError("failed to dup string:%s since %s", filename, terrstr()); if (taosUnLockFile(pFile) != 0) { tscError("failed to unlock file:%s, terrno:%d", filename, terrno); - return; } if (taosCloseFile(&(pFile)) != 0) { tscError("failed to close file:%s, terrno:%d", filename, terrno); - return; } continue; }