forked from lix-project/lix
Improve error message
This commit is contained in:
parent
7ffa523fd1
commit
723a68c826
|
@ -1794,7 +1794,7 @@ void DerivationGoal::startBuilder()
|
||||||
semaphores). It also ensures that all IPC
|
semaphores). It also ensures that all IPC
|
||||||
objects are destroyed when the builder exits. */
|
objects are destroyed when the builder exits. */
|
||||||
if (unshare(CLONE_NEWNS | CLONE_NEWNET | CLONE_NEWIPC) == -1)
|
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. */
|
/* Initialise the loopback interface. */
|
||||||
AutoCloseFD fd(socket(PF_INET, SOCK_DGRAM, IPPROTO_IP));
|
AutoCloseFD fd(socket(PF_INET, SOCK_DGRAM, IPPROTO_IP));
|
||||||
|
|
Loading…
Reference in a new issue