mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
[partition] Don't autoremove the tempdir
- Dangerout since we're mounting things inside that tempdir, and then doing a "weak" unmount
This commit is contained in:
parent
f1c1d07dca
commit
bd1b482242
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ lookForFstabEntries( const QString& partitionPath )
|
|||
{
|
||||
FstabEntryList fstabEntries;
|
||||
QTemporaryDir mountsDir;
|
||||
mountsDir.setAutoRemove( false );
|
||||
|
||||
int exit = QProcess::execute( "mount", { partitionPath, mountsDir.path() } );
|
||||
if ( !exit ) // if all is well
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue