mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +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…
Reference in a new issue