From 5b04ff5558a1c7a9350cfdc5dd7c1513c8803bc1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 18 Sep 2009 12:37:35 +0000 Subject: (should_prefer_UUID) simplify --- perl-install/devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 783e0800c..bdac41a8a 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -216,7 +216,7 @@ sub prefix_for_dev { sub should_prefer_UUID { my ($dev) = @_; - $dev =~ /^(hd|sd|vd)/; + $dev =~ /^([hsv]d)/; } sub symlink_now_and_register { -- cgit v1.2.1