summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 39a164575..53e405da6 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -565,7 +565,7 @@ sub write {
$_->{local_start} = $_->{start};
$_->{active} ||= 0;
}
- $l[0]{active} = 0x80 if !grep { $_->{active} } @l;
+ $l[0]{active} = 0x80 if !any { $_->{active} } @l;
}
#- last chance for verification, this make sure if an error is detected,