Remove temporary file after reading UUID of fat16 and fat32 filesystems
This commit is contained in:
parent
a5eb91e549
commit
88cfe40a8b
|
@ -214,6 +214,8 @@ void fat16::read_uuid( Partition & partition )
|
||||||
if ( ! error .empty() )
|
if ( ! error .empty() )
|
||||||
partition .messages .push_back( error ) ;
|
partition .messages .push_back( error ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err_msg = Utils::delete_mtoolsrc_file( fname );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool fat16::write_uuid( const Partition & partition, OperationDetail & operationdetail )
|
bool fat16::write_uuid( const Partition & partition, OperationDetail & operationdetail )
|
||||||
|
|
|
@ -201,6 +201,8 @@ void fat32::read_uuid( Partition & partition )
|
||||||
if ( ! error .empty() )
|
if ( ! error .empty() )
|
||||||
partition .messages .push_back( error ) ;
|
partition .messages .push_back( error ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err_msg = Utils::delete_mtoolsrc_file( fname );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue