mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-27 11:40:03 +00:00
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:
parent
1197a52174
commit
1c0ea2783d
|
@ -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 ;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue