diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-10-27T16·06+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-10-27T16·06+0000 |
commit | dc6f373842ae65d6c407d8169089367d9c0d4e1a (patch) | |
tree | ddcb062622d753171a0cc2a4e8f0c40be4957a1a /src/libutil/util.hh | |
parent | 9397cd30c8a6ffd65fc3b85985ea59ecfb72672b (diff) |
* Delete the chroot directory automatically.
* Removed some debug messages.
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 0ed98118c53b..657f45ced6e8 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -70,7 +70,7 @@ void deletePath(const Path & path, unsigned long long & bytesFreed); void makePathReadOnly(const Path & path); /* Create a temporary directory. */ -Path createTempDir(const Path & tmpRoot = ""); +Path createTempDir(const Path & tmpRoot = "", const Path & prefix = "nix"); /* Create a directory and all its parents, if necessary. Returns the list of created directories, in order of creation. */ |