summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/format.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index ce4d7e73a..ad4e77508 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -98,7 +98,8 @@ sub part_raw {
run_program::run("tune2fs", "-L", $part->{device_LABEL}, devices::make($dev));
} else {
log::l("dropping LABEL=$part->{device_LABEL} since we don't know how to set labels for fs_type $part->{fs_type}");
- delete $part->{device_LABEL}, $part->{prefer_device_LABEL};
+ delete $part->{device_LABEL};
+ delete $part->{prefer_device_LABEL};
}
}