summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-07 18:16:02 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-13 00:06:31 +0200
commit0220fe4f9d7f07fa137a11597b3465c76cfbcae3 (patch)
treee803758112d4dec1ed56929e517e88595616b3e7 /logic
parent58840ac10cc7aac866d61cbcece3c3b9be1af8b4 (diff)
downloadMultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.gz
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.lz
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.xz
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.zip
GH-228 do not follow symlinks during instance copy on unix
Windows will need a more complex solution.
Diffstat (limited to 'logic')
-rw-r--r--logic/InstanceList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/InstanceList.cpp b/logic/InstanceList.cpp
index a65d9f56..4e295e7f 100644
--- a/logic/InstanceList.cpp
+++ b/logic/InstanceList.cpp
@@ -501,7 +501,7 @@ InstanceList::copyInstance(InstancePtr &newInstance, InstancePtr &oldInstance, c
QDir rootDir(instDir);
qDebug() << instDir.toUtf8();
- if (!copyPath(oldInstance->instanceRoot(), instDir))
+ if (!copyPath(oldInstance->instanceRoot(), instDir, false))
{
rootDir.removeRecursively();
return InstanceList::CantCreateDir;