Restore write label capability for linux-swap

The setting of the write label capability for linux-swap was lost
when it was overwritten in the following commit:

Add support for setting UUID (#667278)
9e96159bb2
This commit is contained in:
Curtis Gedak 2012-02-18 13:54:58 -07:00
parent 1197a52174
commit 1c0ea2783d
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ FS linux_swap::get_filesystem_support()
if ( ! Glib::find_program_in_path( "swaplabel" ) .empty() )
{
fs .write_label = FS::EXTERNAL ;
fs .read_uuid = FS::EXTERNAL ;
fs .write_uuid = FS::EXTERNAL ;
}