diff options
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 2f2a1b436635..0b8900f2501b 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -207,10 +207,7 @@ void copyPath(const Path & src, const Path & dst) files. */ CopySink sink; - { - SwitchToOriginalUser sw; - dumpPath(src, sink); - } + dumpPath(src, sink); CopySource source(sink.s); restorePath(dst, source); |