Skip to content

Commit

Permalink
fix pattern Closes: #689311
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Nov 10, 2012
1 parent ac8defe commit 40745bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/device2grub
Expand Up @@ -36,7 +36,7 @@ if ($map{$disk}) {
opendir (my $dh, $devbyid) || die "Can't open /dev/disk/by-id\n";

while (my $diskid = readdir $dh) {
next if ($diskid =~ /[.].*/);
next if ($diskid =~ /^[.].*/);

$diskid = "$devbyid/$diskid";
my $shortdev = abs_path($diskid);
Expand Down

0 comments on commit 40745bc

Please sign in to comment.