From: nbd Date: Thu, 25 Jan 2007 13:58:52 +0000 (+0000) Subject: fix download.pl (#1257) X-Git-Tag: fast2504n-3.10.28-merged~22231 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=3a8cc06c51b8653bccdb3d3323a7b82d003787f0;p=openwrt.git fix download.pl (#1257) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6200 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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, $_;