[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
3b6cb73975
commit
b1ea96e463
@ -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…
Reference in New Issue
Block a user