summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-25 13:58:52 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-25 13:58:52 +0000
commit3a8cc06c51b8653bccdb3d3323a7b82d003787f0 (patch)
tree94690e6fe841b1d5ab9072eccf23482e18d6b721
parent4ff563f9ef0253edfef84745bede395cb84c6c1c (diff)
fix download.pl (#1257)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6200 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
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 (<LM>) {
chomp $_;
push @mlist, $_;