summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/partition_table/gpt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm
index 9f3093395..e59e96184 100644
--- a/perl-install/partition_table/gpt.pm
+++ b/perl-install/partition_table/gpt.pm
@@ -146,7 +146,7 @@ sub write {
c::set_partition_flag($hd->{file}, $part_number, 'ESP')
or die "failed to set type for $part->{file} on $part->{mntpoint}";
}
- } elsif ($action eq 'del' and !$partitions_killed) {
+ } elsif ($action eq 'del' && !$partitions_killed) {
c::disk_del_partition($hd->{file}, $part_number) or die "failed to del partition #$part_number on $hd->{file}";
}
}