Skip to content

Commit 16551f5

Browse files
committedMar 7, 2018
Fix #1957
1 parent 4452f6e commit 16551f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/libstore/local-store.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ bool LocalStore::verifyStore(bool checkContents, RepairFlag repair)
12151215

12161216
/* Check the content hash (optionally - slow). */
12171217
printMsg(lvlTalkative, format("checking contents of '%1%'") % i);
1218-
HashResult current = hashPath(info->narHash.type, i);
1218+
HashResult current = hashPath(info->narHash.type, toRealPath(i));
12191219

12201220
if (info->narHash != nullHash && info->narHash != current.first) {
12211221
printError(format("path '%1%' was modified! "

0 commit comments

Comments
 (0)
Please sign in to comment.