[partition] Don't autoremove the tempdir

- Dangerout since we're mounting things inside that tempdir,
   and then doing a "weak" unmount
main
Adriaan de Groot 6 years ago
parent f1c1d07dca
commit bd1b482242

@ -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…
Cancel
Save