Skip to content

Commit

Permalink
Fix #1957
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Mar 7, 2018
1 parent 4452f6e commit 16551f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/local-store.cc
Expand Up @@ -1215,7 +1215,7 @@ bool LocalStore::verifyStore(bool checkContents, RepairFlag repair)

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

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

0 comments on commit 16551f5

Please sign in to comment.