[partition] avoid data cleanup in osprobe

- Fixes #1044
This commit is contained in:
Philip Müller 2018-10-29 19:34:26 +01:00
parent 13f14ea3fd
commit 37478f4a8d

View File

@ -2,6 +2,7 @@
*
* Copyright 2014, Aurélien Gâteau <agateau@kde.org>
* Copyright 2017, Adriaan de Groot <groot@kde.org>
* Copyright 2018, Philip Müller <philm@manjaro.org>
*
* Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -69,6 +70,7 @@ public:
private:
QString m_devicePath;
QTemporaryDir m_mountPointDir;
m_mountPointDir.setAutoRemove(false); // Avoid data cleanup - https://github.com/calamares/calamares/issues/1044
bool m_mounted;
};