Skip to content

Commit

Permalink
fix perl warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed May 28, 2022
1 parent 49ae9b8 commit 5723195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup-storage/Commands.pm
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ sub build_btrfs_commands {
foreach (@devs) {
my $tmp = $_;
# special handling for nvme devices
unless ($tmp =~ s/(nvme.+)p\d+/\1/) {
unless ($tmp =~ s/(nvme.+)p\d+/$1/) {
$tmp =~ s/\d//;
}
$pre_req = "${pre_req}pt_complete_${tmp}," unless ($pre_req =~ m/pt_complete_$tmp/);
Expand Down

0 comments on commit 5723195

Please sign in to comment.