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 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; |