mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
Use debug instead of writing directly to stderr.
This commit is contained in:
parent
6da05c0a11
commit
5744a500d6
1 changed files with 2 additions and 2 deletions
|
@ -196,9 +196,9 @@ void LocalOverlayStore::deleteStorePath(const Path & path, uint64_t & bytesFreed
|
||||||
auto upperPath = toUpperPath(storePath);
|
auto upperPath = toUpperPath(storePath);
|
||||||
|
|
||||||
if (pathExists(upperPath)) {
|
if (pathExists(upperPath)) {
|
||||||
std::cerr << " upper exists" << std::endl;
|
debug("upper exists: %s", path);
|
||||||
if (lowerStore->isValidPath(storePath)) {
|
if (lowerStore->isValidPath(storePath)) {
|
||||||
std::cerr << " lower exists" << std::endl;
|
debug("lower exists: %s", storePath.to_string());
|
||||||
// Path also exists in lower store.
|
// Path also exists in lower store.
|
||||||
// We must delete via upper layer to avoid creating a whiteout.
|
// We must delete via upper layer to avoid creating a whiteout.
|
||||||
deletePath(upperPath, bytesFreed);
|
deletePath(upperPath, bytesFreed);
|
||||||
|
|
Loading…
Reference in a new issue