Skip to content

Commit

Permalink
Fix logical error.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 68daa46 commit b1930bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdFileCache/XrdFileCacheFile.cc
Expand Up @@ -184,7 +184,7 @@ bool File::InitiateClose()
{
// file is not active when block map is empty and sync is done
XrdSysMutexHelper _lck(&m_syncStatusMutex);
if (m_in_sync) {
if (m_in_sync == false) {
delete m_syncer;
m_syncer = NULL;
return false;
Expand Down

0 comments on commit b1930bc

Please sign in to comment.