If no delete filename is specified, don't print false error

This commit is contained in:
baldurk
2020-05-13 20:48:14 +01:00
parent 9ed418f90c
commit 05201fa67e
+1 -1
View File
@@ -557,7 +557,7 @@ void logfile_close(LogFileHandle *logHandle, const char *deleteFilename)
return;
}
}
else
else if(err)
{
RDCWARN("Couldn't release shared lock to '%s': %d", deleteFilename, (int)errno);
// nothing to do, we won't try again, just exit. The log might lie around, but that's