From: Felix Fietkau Date: Thu, 25 Jan 2007 13:58:52 +0000 (+0000) Subject: fix download.pl (#1257) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=863183ed6efaee60ae7b196234370b3b10b52d3e;p=openwrt%2Fstaging%2Fmkresin.git fix download.pl (#1257) SVN-Revision: 6200 --- diff --git a/scripts/download.pl b/scripts/download.pl index 51340097d8..280e5f0d73 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -23,7 +23,7 @@ my $ok; sub localmirrors { my @mlist; - open LM, "$scriptdir/localmirrors" or return ""; + open LM, "$scriptdir/localmirrors" or return (); while () { chomp $_; push @mlist, $_;