diff options
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 7740f9852..235e4945d 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -168,7 +168,7 @@ sub isFloppyOrHD { sub getSCSI() { my $err = sub { log::l("ERROR: unexpected line in /proc/scsi/scsi: $_[0]"); }; - my ($first, @l) = common::join_lines(cat_("/proc/scsi/scsi")); + my ($first, @l) = common::join_lines(cat_("/proc/scsi/scsi")) or return; $first =~ /^Attached devices:/ or $err->($first); @l = map_index { |