summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/devices.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 0423e5813..38df41d5c 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -170,7 +170,9 @@ sub make($) {
if ($file =~ m|/dev/| && -e '/dev/.devfsd') {
#- argh, creating devices is no good with devfs...
- die "devices are handled by devfsd, and $file doesn't exist";
+ #- return the file even if the device file doesn't exist
+ #- the caller will fail or not, better compatibility than raising an exception here
+ return $file;
}
#- make a directory for this inode if needed.