mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02: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