mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 21:46:01 +01:00
Forgot to check flag and early out.
This commit is contained in:
parent
3a9fe1a085
commit
c2d54496a0
1 changed files with 2 additions and 0 deletions
|
|
@ -247,6 +247,8 @@ Path LocalOverlayStore::toRealPathForHardLink(const StorePath & path)
|
||||||
|
|
||||||
void LocalOverlayStore::remountIfNecessary()
|
void LocalOverlayStore::remountIfNecessary()
|
||||||
{
|
{
|
||||||
|
if (!_remountRequired) return;
|
||||||
|
|
||||||
if (remountHook.get().empty()) {
|
if (remountHook.get().empty()) {
|
||||||
warn("'%s' needs remounting, set remount-hook to do this automatically", realStoreDir.get());
|
warn("'%s' needs remounting, set remount-hook to do this automatically", realStoreDir.get());
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue