From 6d0529abbb5c5be16a88b71a64e3c0ba60c01e4c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 27 Jul 2002 10:47:29 +0000 Subject: (add_probeall): use "uniq" to have modules only once in ddebug.log (a "uniq" was already in modules.conf so it doesn't change the result) --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 4f843b778..21d3fe040 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -157,7 +157,7 @@ sub add_probeall { my ($alias, $module) = @_; my $l = $conf{$alias}{probeall} ||= []; - push @$l, $module; + @$l = uniq(@$l, $module); log::l("setting probeall scsi_hostadapter to @$l"); } -- cgit v1.2.1