mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
Improve error message
This commit is contained in:
parent
7ffa523fd1
commit
723a68c826
1 changed files with 1 additions and 1 deletions
|
@ -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