aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-06-23 00:57:14 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-06-23 00:57:14 -0400
commit723a68c8262ec337e290e51265820ae90fe3ad18 (patch)
tree701e8c835088489918d8282e03356124380f52f3 /src/libstore/build.cc
parent7ffa523fd15fcd9ab1a0ad85db860f467869946a (diff)
Improve error message
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index cb697df50..6efb294e8 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1794,7 +1794,7 @@ void DerivationGoal::startBuilder()
semaphores). It also ensures that all IPC
objects are destroyed when the builder exits. */
if (unshare(CLONE_NEWNS | CLONE_NEWNET | CLONE_NEWIPC) == -1)
- throw SysError("cannot set up a private mount namespace");
+ throw SysError("cannot set up private namespaces");
/* Initialise the loopback interface. */
AutoCloseFD fd(socket(PF_INET, SOCK_DGRAM, IPPROTO_IP));