Skip to content

Commit

Permalink
Forgot to check flag and early out.
Browse files Browse the repository at this point in the history
  • Loading branch information
benradf committed Jul 26, 2023
1 parent 3a9fe1a commit c2d5449
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstore/local-overlay-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ Path LocalOverlayStore::toRealPathForHardLink(const StorePath & path)

void LocalOverlayStore::remountIfNecessary()
{
if (!_remountRequired) return;

if (remountHook.get().empty()) {
warn("'%s' needs remounting, set remount-hook to do this automatically", realStoreDir.get());
} else {
Expand Down

0 comments on commit c2d5449

Please sign in to comment.