Skip to content

Commit 2f42f3c

Browse files
committed
Merge branch 'hotfix/2.5.1'
2 parents ebf8253 + f404ca2 commit 2f42f3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.cryptomator</groupId>
44
<artifactId>cryptofs</artifactId>
5-
<version>2.5.0</version>
5+
<version>2.5.1</version>
66
<name>Cryptomator Crypto Filesystem</name>
77
<description>This library provides the Java filesystem provider used by Cryptomator.</description>
88
<url>https://github.com/cryptomator/cryptofs</url>

src/main/java/org/cryptomator/cryptofs/health/dirid/DirIdCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void check(Path pathToVault, VaultConfig config, Masterkey masterkey, Cry
6262
if (foundDir) {
6363
iter.remove();
6464
var expectedDirVaultRel = Path.of(Constants.DATA_DIR_NAME).resolve(expectedDir);
65-
if (Files.exists(pathToVault.resolve(expectedDir).resolve(Constants.DIR_BACKUP_FILE_NAME))) {
65+
if (Files.exists(pathToVault.resolve(expectedDirVaultRel).resolve(Constants.DIR_BACKUP_FILE_NAME))) {
6666
resultCollector.accept(new HealthyDir(dirId, dirFile, expectedDirVaultRel));
6767
} else {
6868
resultCollector.accept(new MissingDirIdBackup(dirId, expectedDirVaultRel));

0 commit comments

Comments
 (0)