Remove temporary file after reading UUID of fat16 and fat32 filesystems

This commit is contained in:
Rogier Goossens 2012-02-08 09:31:14 +01:00 committed by Curtis Gedak
parent a5eb91e549
commit 88cfe40a8b
2 changed files with 4 additions and 0 deletions

View File

@ -214,6 +214,8 @@ void fat16::read_uuid( Partition & partition )
if ( ! error .empty() )
partition .messages .push_back( error ) ;
}
err_msg = Utils::delete_mtoolsrc_file( fname );
}
bool fat16::write_uuid( const Partition & partition, OperationDetail & operationdetail )

View File

@ -201,6 +201,8 @@ void fat32::read_uuid( Partition & partition )
if ( ! error .empty() )
partition .messages .push_back( error ) ;
}
err_msg = Utils::delete_mtoolsrc_file( fname );
}