GH-228 do not recurse into reparse points when deleting instances
This commit is contained in:
parent
0220fe4f9d
commit
c7398dfdc5
4 changed files with 69 additions and 2 deletions
|
@ -503,7 +503,7 @@ InstanceList::copyInstance(InstancePtr &newInstance, InstancePtr &oldInstance, c
|
|||
qDebug() << instDir.toUtf8();
|
||||
if (!copyPath(oldInstance->instanceRoot(), instDir, false))
|
||||
{
|
||||
rootDir.removeRecursively();
|
||||
deletePath(instDir);
|
||||
return InstanceList::CantCreateDir;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue