diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-02T14·34+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-02T14·34+0000 |
commit | 9c9cdb06d095ea91e10be8dae3a85f06a99c51bf (patch) | |
tree | 0fc5fdc4fdc0d1493dca1681147bab6a8f5e3f86 /src/libstore/gc.cc | |
parent | 626f8ee42f0b984ebc1cbf0b39938bcb3edf3bd7 (diff) |
* Remove SwitchToOriginalUser, we're not going to need it anymore.
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r-- | src/libstore/gc.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 05966ad4b076..3e4150d89811 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -92,10 +92,7 @@ Path addPermRoot(const Path & _storePath, const Path & _gcRoot, Path realRoot = canonPath((format("%1%/%2%/auto/%3%") % nixStateDir % gcRootsDir % hash).str()); - { - SwitchToOriginalUser sw; - createSymlink(gcRoot, storePath, true); - } + createSymlink(gcRoot, storePath, true); createSymlink(realRoot, gcRoot, false); } |