Skip to content

Commit

Permalink
Merge pull request #11010 from Dr15Jones/fixLocalCaching_7_5
Browse files Browse the repository at this point in the history
Fix bug preventing the use of a local cache
  • Loading branch information
cmsbuild committed Aug 31, 2015
2 parents b1dc7b1 + 23a0e48 commit 4696841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/StorageFactory/src/StorageFactory.cc
Expand Up @@ -274,7 +274,7 @@ StorageFactory::wrapNonLocalFile (Storage *s,
{
m_lfs.issueWarning();
}
else if (path.empty() || m_lfs.isLocalPath(path))
else if ( (not path.empty()) and m_lfs.isLocalPath(path))
{
// For now, issue no warning - otherwise, we'd always warn on local input files.
}
Expand Down

0 comments on commit 4696841

Please sign in to comment.