From 3a8cc06c51b8653bccdb3d3323a7b82d003787f0 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 25 Jan 2007 13:58:52 +0000 Subject: [PATCH] fix download.pl (#1257) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6200 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.pl b/scripts/download.pl index 51340097d..280e5f0d7 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, $_; -- 2.20.1