summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-25 13:58:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-25 13:58:52 +0000
commit863183ed6efaee60ae7b196234370b3b10b52d3e (patch)
treefaada34ceff8c3b321e3a5605e25fc62b89a4b9c /scripts
parentc449bfea529b9c71a2e5bb96cfb67268802ac53a (diff)
downloadmtk-20170518-863183ed6efaee60ae7b196234370b3b10b52d3e.zip
mtk-20170518-863183ed6efaee60ae7b196234370b3b10b52d3e.tar.gz
mtk-20170518-863183ed6efaee60ae7b196234370b3b10b52d3e.tar.bz2
fix download.pl (#1257)
SVN-Revision: 6200
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 5134009..280e5f0 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, $_;