mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
parent
f5f0d30597
commit
a82010789e
@ -469,7 +469,7 @@ void deletePath(const Path & path)
|
||||
deletePath(path, dummy);
|
||||
}
|
||||
|
||||
void createDir(const Path &path, mode_t mode)
|
||||
void createDir(const Path & path, mode_t mode)
|
||||
{
|
||||
if (mkdir(path.c_str(), mode) == -1)
|
||||
throw SysError("creating directory '%1%'", path);
|
||||
|
Loading…
Reference in New Issue
Block a user