diff options
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 1ed2ccab3..c93026a6f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- detect_devices: + o fix a crash on non x86 + Version 17.15 - 16 January 2016 - diskdrake: diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 133a0b1f4..2b3ba711b 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1154,7 +1154,7 @@ Cache the result of c::dmi_probe() (aka C<dmidecode>) and return the list of ite sub dmi_probe() { state $dmi_probe; if (arch() !~ /86/) { - return []; + return (); } $dmi_probe ||= $> ? [] : [ c::dmi_probe() ]; @$dmi_probe; |