aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-01 14:36:56 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-01 14:36:56 +0200
commit227a48f86f8c26c495783c5946bb75c2819bb7ac (patch)
tree00b976a54e25c390e01e5711cf0192957044c5b6 /src
parent0dddcf867a65723ddf96343dd694f970f2f9538a (diff)
Reduce severity of EMLINK warnings
Fixes #1357.
Diffstat (limited to 'src')
-rw-r--r--src/libstore/optimise-store.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index cf234e35d..d354812e3 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -220,8 +220,7 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path, InodeHa
rather than on the original link. (Probably it
temporarily increases the st_nlink field before
decreasing it again.) */
- if (st.st_size)
- printInfo(format("‘%1%’ has maximum number of links") % linkPath);
+ debug("‘%s’ has reached maximum number of links", linkPath);
return;
}
throw SysError(format("cannot rename ‘%1%’ to ‘%2%’") % tempLink % path);