GH-228 do not recurse into reparse points when deleting instances
This commit is contained in:
1 parent
0220fe4f9d
commit
c7398dfdc5
4 files changed
+69
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user