about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 127fcfd650f7..d759d15bdd68 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");