* Remove SwitchToOriginalUser, we're not going to need it anymore.
This commit is contained in:
parent
626f8ee42f
commit
9c9cdb06d0
8 changed files with 4 additions and 63 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue