From 90d4fc763bfddf81b58000589620fc24ed325127 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 4 May 2010 09:36:04 +0000 Subject: add missing prefix --- 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 8ddba04be..3b2761ad0 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -176,7 +176,7 @@ sub entry { # Try to access directly the device # Now device mapper devices are links and do not appear in /proc or /sys unless ($type) { - if (-e "/dev/$_") { + if (-e "$::prefix/dev/$_") { my (undef,undef,$mode,undef,undef,undef,$rdev,undef) = stat("$::prefix/dev/$_"); ($major, $minor) = unmakedev($rdev); $type = $mode & c::S_IFMT(); -- cgit v1.2.1