GH-228 do not recurse into reparse points when deleting instances

This commit is contained in:
Petr Mrázek committed 2015-04-13 00:06:31 +02:00
1 parent 0220fe4f9d
commit c7398dfdc5
4 files changed
+69 -2

No files matched your search

+1 -1
View File
@@ -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;
}