diff --git a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java index 6958fc3ada..e6209ba70d 100644 --- a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java +++ b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java @@ -554,7 +554,7 @@ public class FilesystemStorageStrategyImpl implements LocalStorageStrategy { @Override public BlobAccess getBlobAccess(String containerName, String blobName) { - if (new File(buildPathStartingFromBaseDir(containerName)).exists()) { + if (!new File(buildPathStartingFromBaseDir(containerName)).exists()) { throw new ContainerNotFoundException(containerName, "in getBlobAccess"); } File file = new File(buildPathStartingFromBaseDir(containerName, blobName));