mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
improve linux chroot-related error message
Signed-off-by: Samuli Thomasson <samuli.thomasson@pm.me>
This commit is contained in:
parent
c9651a0cbd
commit
b01dcf8985
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ struct ChrootLinuxDerivationBuilder : LinuxDerivationBuilder
|
|||
printMsg(lvlChatty, "setting up chroot environment in '%1%'", chrootParentDir);
|
||||
|
||||
if (mkdir(chrootParentDir.c_str(), 0700) == -1)
|
||||
throw SysError("cannot create '%s'", chrootRootDir);
|
||||
throw SysError("cannot create '%s'", chrootParentDir);
|
||||
|
||||
chrootRootDir = chrootParentDir + "/root";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue