aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 127fcfd65..d759d15bd 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2137,8 +2137,6 @@ void DerivationGoal::runChild()
setuid() when run as root sets the real, effective and
saved UIDs. */
if (buildUser.enabled()) {
- printMsg(lvlChatty, format("switching to user ‘%1%’") % buildUser.getUser());
-
if (setgroups(0, 0) == -1)
throw SysError("cannot clear the set of supplementary groups");